/**
 * BOXBIRDS app sheet — the app's features on the website (theme 1.12.0).
 *
 * Loaded only on the pages that talk to Firestore (board, profile, finance,
 * join, messages), after v2.css, so the homepage and every content page do
 * not carry a byte of it. Same tokens as v2.css; no colours of its own.
 */
/* ---------------------------------------------------------------------------
   1.12.0 — the app's features on the board, profile and finance pages
   --------------------------------------------------------------------------- */
.v2 .bb-board__note { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.v2 .bb-board__note--ok { border-color: color-mix(in srgb, var(--money) 45%, transparent); color: var(--money); }
.v2 .bb-board__note--info { border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.v2 .bb-board__state .bb-btn { margin-top: 6px; }
.v2 .bb-board__stack { display: grid; gap: 12px; }
.v2 .bb-seg--wrap { flex-wrap: wrap; }
.v2 .bb-seg--wide { display: flex; width: 100%; margin: 6px 0 18px; }
.v2 .bb-seg__btn { flex: 1; height: 44px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.v2 .bb-seg__btn[aria-selected="true"] { background: var(--brand); color: var(--brand-ink); }
.v2 .bb-info { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -10px 0 -10px 2px; border: 0; border-radius: 99px; background: transparent; color: var(--ink); font: italic 700 13px/1 Georgia, serif; cursor: pointer; vertical-align: middle; }
.v2 .bb-info::before { content: ""; position: absolute; left: 9px; top: 9px; width: 26px; height: 26px; box-sizing: border-box; border-radius: 99px; border: 1px solid var(--line-2); }
.v2 .bb-info:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; }

.v2 .bb-req__badge { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 12%, transparent); font-size: 12.5px; font-weight: 700; color: var(--link); }
.v2 .bb-req__badge svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.v2 .bb-req__hint { align-self: center; font-size: 13.5px; font-weight: 500; color: var(--muted); line-height: 1.45; flex-basis: 100%; }
.v2 .bb-req__contact { align-self: center; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.v2 .bb-req__contact a { color: var(--link); }
.v2 .bb-req--closed { opacity: .6; }
.v2 .bb-offer .bb-label { margin-top: 8px; }

/* dialogs: request delivery, reasons, the reward explainer */
.v2 .bb-dialog { max-height: calc(100dvh - 32px); overflow: auto; }
.v2 .bb-dialog .bb-fs { margin-top: 2px; }
.v2 .bb-ask__route { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; color: var(--ink); }
.v2 .bb-ask__route svg { width: 18px; height: 18px; stroke: var(--brand); stroke-width: 1.8; fill: none; }
.v2 .bb-ask__total { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.v2 .bb-ask__total b { font-size: 22px; color: var(--head); }
.v2 .bb-radio b { font-weight: 800; color: var(--money); }
.v2 .bb-reasons { display: flex; flex-direction: column; gap: 8px; }
.v2 .bb-check { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.v2 .bb-check[hidden] { display: none; }
.v2 .bb-check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--brand); }
.v2 .bb-rinfo section { display: flex; flex-direction: column; gap: 4px; }
.v2 .bb-rinfo h3 { margin: 6px 0 0; font-size: 15.5px; font-weight: 800; color: var(--head); }
.v2 .bb-rinfo p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }

/* dispute timeline (the app's "Money in dispute") */
.v2 .bb-tl { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; }
.v2 .bb-tl__step { position: relative; padding: 0 0 16px 34px; display: flex; flex-direction: column; gap: 2px; }
.v2 .bb-tl__step::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 99px; border: 2px solid var(--line-2); background: var(--panel); box-sizing: border-box; }
.v2 .bb-tl__step::after { content: ""; position: absolute; left: 9px; top: 22px; bottom: 2px; width: 2px; background: var(--line); }
.v2 .bb-tl__step:last-child::after { display: none; }
.v2 .bb-tl__step--done::before { border-color: var(--money); background: color-mix(in srgb, var(--money) 20%, var(--panel)); }
.v2 .bb-tl__step--now::before { border-color: var(--brand); box-shadow: inset 0 0 0 4px var(--panel); background: var(--brand); }
.v2 .bb-tl__step b { font-size: 14.5px; color: var(--head); }
.v2 .bb-tl__step span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* profile */
.v2 .bb-profile .bb-board__form { margin-top: 12px; }
.v2 .bb-sub + .bb-sub { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.v2 .bb-prefs { display: flex; flex-direction: column; }
.v2 .bb-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--line); cursor: pointer; }
.v2 .bb-switch span { display: flex; flex-direction: column; gap: 2px; }
.v2 .bb-switch b { font-size: 15px; color: var(--ink); }
.v2 .bb-switch i { font-style: normal; font-size: 13px; color: var(--muted); }
.v2 .bb-switch input { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 28px; margin: 0; border-radius: 99px; background: var(--line-2); position: relative; cursor: pointer; transition: background-color .15s; }
.v2 .bb-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 99px; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.v2 .bb-switch input:checked { background: var(--brand); }
.v2 .bb-switch input:checked::after { transform: translateX(18px); }
.v2 .bb-switch input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.v2 .bb-blocklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.v2 .bb-blocklist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 0 0 4px; border-bottom: 1px solid var(--line); }
.v2 .bb-blocklist li span { display: flex; flex-direction: column; }
.v2 .bb-blocklist li i { font-style: normal; font-size: 13px; color: var(--muted); }
.v2 .bb-cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.v2 .bb-h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; color: var(--head); display: flex; align-items: center; gap: 8px; }
.v2 .bb-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.v2 .bb-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--link); }

/* finance */
.v2 .bb-stat--big { margin: 4px 0 12px; }
.v2 .bb-stat--big b { font-size: 40px; }
.v2 .bb-ladder { width: 100%; margin-top: 24px; border-collapse: separate; border-spacing: 0; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.v2 .bb-board__form > .bb-h2:first-child { margin-top: 0; }
.v2 .bb-ladder caption { text-align: left; padding: 0 0 10px; font-size: 16px; font-weight: 800; color: var(--head); }
.v2 .bb-ladder th, .v2 .bb-ladder td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.v2 .bb-ladder th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.v2 .bb-ladder td:last-child, .v2 .bb-ladder th:last-child { text-align: right; font-weight: 800; color: var(--head); }
.v2 .bb-ladder tr:last-child td { border-bottom: 0; }
.v2 .bb-legal-note { margin-top: 16px; }

@media (max-width: 720px) {
  .v2 .bb-cards2 { grid-template-columns: minmax(0, 1fr); }
  .v2 .bb-req__acts .bb-btn { flex: 1 1 auto; }
}

/* ---------------------------------------------------------------------------
   1.13.0 — the flow board: deal summary + agreement, two-sided handoff,
   the publish review step, the parcel filter, username and photo
   --------------------------------------------------------------------------- */
.v2 .bb-req__deal:empty { display: none; }
.v2 .bb-req__deal { display: grid; gap: 10px; margin-top: 12px; }
.v2 .bb-deal { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.v2 .bb-deal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--ink); }
.v2 .bb-deal__badge { padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 14%, transparent); font-size: 12px; font-weight: 700; color: var(--link); white-space: nowrap; }
.v2 .bb-deal__rows { display: grid; gap: 6px; margin: 0; }
.v2 .bb-deal__rows > div { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; }
.v2 .bb-deal__rows dt { color: var(--muted); font-weight: 500; }
.v2 .bb-deal__rows dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.v2 .bb-deal__total { border-top: 1px solid var(--line); padding-top: 8px; margin: 2px 0 0; display: flex; justify-content: space-between; font-size: 14.5px; color: var(--ink); }
.v2 .bb-deal__note { padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.v2 .bb-deal__note b { display: block; font-size: 14.5px; color: var(--ink); }
.v2 .bb-deal__note p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.v2 .bb-deal__form .bb-label { margin-top: 2px; }
.v2 .bb-deal__form [hidden] { display: none; }
.v2 .bb-review { display: grid; gap: 8px; margin: 0; }
.v2 .bb-review > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.v2 .bb-review dt { color: var(--muted); }
.v2 .bb-review dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.v2 .bb-photo { display: flex; align-items: center; gap: 14px; }
.v2 .bb-photo img, .v2 .bb-photo .bb-photo__ph { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; background: var(--card); border: 1px dashed var(--line-2); }
.v2 .bb-deal[hidden], .v2 .bb-req__deal[hidden] { display: none; }
.v2 .bb-board__acts[hidden] { display: none; }
/* 1.13.1 — the photo picker sits beside its label, not stacked under it */
.v2 .bb-label.bb-photo { flex-direction: row; align-items: center; gap: 14px; }
.v2 .bb-label.bb-photo > span:last-child { text-transform: none; letter-spacing: 0; }
.v2 .bb-photo .bb-photo__ph, .v2 .bb-photo img { flex: none; background-position: center; }
.v2 .bb-photo input[type=file] { margin-top: 6px; font-size: 13px; max-width: 100%; }

/* ---------------------------------------------------------------------------
   1.13.6 — the handoff panels, as the founder's mockup draws them: two panels side by
   side (stacked on a phone), My price under the first, the fee choice nested directly
   under the extra-fee option, the amount directly under the selected fixed / up-to option.
   --------------------------------------------------------------------------- */
.v2 .bb-ho-grid { align-items: start; }
.v2 .bb-ho .bb-radio, .v2 .bb-price .bb-radio { align-items: flex-start; padding: 6px 0; line-height: 1.4; }
.v2 .bb-ho .bb-radio input, .v2 .bb-price .bb-radio input { margin-top: 2px; flex: none; }
.v2 .bb-ho .bb-radio em { font-style: normal; font-weight: 800; color: var(--head); }
.v2 .bb-ho__fee { margin: 0 0 8px 28px; padding: 4px 12px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); }
.v2 .bb-ho__fee[hidden], .v2 .bb-price > .bb-input[hidden] { display: none; }
.v2 .bb-ho__fee .bb-input--sm, .v2 .bb-price > .bb-input--sm { display: block; margin: 0 0 6px 28px; width: calc(100% - 28px); }
.v2 .bb-fs legend { max-width: 100%; }
.v2 .bb-ho .bb-radio > span, .v2 .bb-price .bb-radio > span { min-width: 0; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------------------
   1.13.6 — the app sign-in bridge: /join/?app=1… shows only a compact panel (the brand mark,
   the provider buttons, the consent boxes when a new account needs them, one status line) —
   no site header or footer, and the bridge's own card instead of the register / sign-in one.
   --------------------------------------------------------------------------- */
html.bb-app-mode .v2-hdr, html.bb-app-mode .v2-foot, html.bb-app-mode .v2__skip { display: none; }
html.bb-app-mode .v2 .bb-auth { padding: 24px 16px; }
.v2 .bb-bridge {
  max-width: 420px; margin: 6vh auto 0; padding: 32px 28px; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 14px; text-align: center;
  border-radius: 20px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.v2 .bb-bridge[hidden], .v2 .bb-bridge [hidden] { display: none; }
.v2 .bb-bridge__mark { align-self: center; height: 56px; width: auto; }
.v2 .bb-bridge h1 { margin: 4px 0 0; font-family: inherit; font-weight: 800; letter-spacing: -0.01em; font-size: 21px; line-height: 1.3; color: var(--head); }
.v2 .bb-bridge__sub { margin: 0; font-size: 14.5px; font-weight: 500; line-height: 1.55; color: var(--muted); }
.v2 .bb-bridge__prov { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.v2 .bb-bridge__prov .bb-btn, .v2 .bb-bridge > .bb-btn { width: 100%; height: auto; min-height: 52px; }
.v2 .bb-bridge__consents { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.v2 .bb-bridge .bb-msg { margin: 0; }

/* 1.13.6 — partner pane: latest rewards (a list when the server sends rows, else the empty state) */
.v2 .bb-rewards { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.v2 .bb-rewards[hidden] { display: none; }
.v2 .bb-rewards li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 14px; color: var(--muted); }
.v2 .bb-rewards b { color: var(--head); }
.v2 [data-partner-error][hidden], .v2 [data-partner-ladder][hidden], .v2 [data-partner-rewards][hidden] { display: none; }

/* 1.13.6 — the ask dialog hides the options a trip does not offer (hidden attribute) */
.v2 .bb-radio[hidden], .v2 .bb-ho [hidden], .v2 [data-show-if][hidden] { display: none; }
/* the request form's category picker has no label of its own: keep it off the field above */
.v2 .bb-board__form > .bb-seg--wrap { margin-top: 14px; }
/* 1.13.6 — the photo picker's native file input is as wide as its "Choose file / No file chosen" text; on a 390 px phone that pushed the
   register step 16 px past the screen. The label may shrink, and the input follows it. */
.v2 .bb-label.bb-photo > span:last-child { min-width: 0; flex: 1 1 0; }
.v2 .bb-photo input[type=file] { width: 100%; min-width: 0; }

/* ===========================================================================
   1.14.0 — "Board 2.0": /board/ and /my/ (page-board.php, data-scope board | my).
   Dark, calm, hairline borders, small precise type (contract §3). Everything is
   scoped to .bb-b2 (the page) or to the dialogs it opens, and overrides the
   generic board rules v2.css still carries for the older markup.
   =========================================================================== */
.v2 { --accent-ink: #1238AA; --card-grad: #FFFFFF; }
.v2[data-theme="dark"] { --accent-ink: #A9C0FF; --card-grad: linear-gradient(115deg, #141C32, #101628); }

.v2 .bb-b2 { padding: 48px 0 80px; }
.v2 .bb-b2 .bb-btn, .v2 .bb-dialog .bb-btn { height: 44px; padding: 0 18px; border-radius: 10px; font-size: 14px; }
.v2 .bb-b2 .bb-btn:focus-visible, .v2 .bb-dialog .bb-btn:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.v2 .bb-linkbtn { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0; border: 0; background: none;
  font: 600 13.5px/1.2 Inter, sans-serif; color: var(--accent-ink); cursor: pointer; }
.v2 .bb-linkbtn:hover { color: var(--head); }

/* ---- head: eyebrow, title, one line, one action ---- */
.v2 .bb-b2__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 32px; margin: 0 0 28px; }
.v2 .bb-b2__eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.v2 .bb-b2__h1 { margin: 0; font-family: Inter, "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -.02em; color: var(--head); }
.v2 .bb-b2__sub { margin: 10px 0 0; max-width: 64ch; font-size: 15px; line-height: 1.5; color: var(--muted); }
.v2 .bb-b2__cta { display: flex; justify-content: flex-end; }
.v2 .bb-b2__post { gap: 8px; padding: 0 20px 0 16px; }
.v2 .bb-b2__post svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.v2 .bb-b2[data-compose="request"] .bb-b2__cta, .v2 .bb-b2[data-compose="trip"] .bb-b2__cta { visibility: hidden; }
.v2 .bb-chooser { position: relative; }
.v2 .bb-chooser__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 320px; padding: 6px;
  display: flex; flex-direction: column; gap: 2px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow-hi); }
.v2 .bb-chooser__opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 0; border-radius: 10px;
  background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.v2 .bb-chooser__opt:hover, .v2 .bb-chooser__opt:focus-visible { background: var(--card); }
.v2 .bb-chooser__opt svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: color-mix(in srgb, var(--accent-ink) 12%, transparent);
  fill: none; stroke: var(--accent-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.v2 .bb-chooser__opt > span { min-width: 0; }
.v2 .bb-chooser__opt b { display: block; font-size: 14.5px; font-weight: 700; color: var(--head); }
.v2 .bb-chooser__opt i { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: var(--muted); }

/* ---- the route search: one panel ---- */
.v2 .bb-b2__search { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) minmax(0, .85fr) auto; align-items: center;
  padding: 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.v2 .bb-b2__search .bb-field { min-height: 58px; padding: 9px 14px; border: 0; border-radius: 11px; background: transparent; transition: background-color .15s ease; }
.v2 .bb-b2__search .bb-date { padding: 0; }
.v2 .bb-b2__search .bb-date__btn { min-height: 58px; padding: 9px 14px; }
.v2 .bb-b2__search .bb-field:hover, .v2 .bb-b2__search .bb-field:focus-within, .v2 .bb-b2__search .bb-field.is-open { background: var(--card); }
.v2 .bb-b2__search .bb-field.is-invalid { box-shadow: inset 0 0 0 1px var(--no-ink); }
.v2 .bb-b2__sd::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.v2 .bb-b2__sd:hover::before, .v2 .bb-b2__sd.is-open::before { opacity: 0; }
.v2 .bb-b2__swap { justify-self: center; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); cursor: pointer; }
.v2 .bb-b2__swap:hover { color: var(--head); border-color: var(--accent-ink); }
.v2 .bb-b2__swap svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v2 .bb-b2 .bb-b2__find { height: 48px; margin-left: 6px; padding: 0 22px; gap: 8px; border-radius: 11px; font-size: 15px; }
.v2 .bb-b2__find svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v2 .bb-b2__search .bb-pop--cal { left: auto; right: 0; }

/* ---- tabs: underlined, a count beside each, never wrapping ---- */
.v2 .bb-b2__tabs { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; box-shadow: inset 0 -1px 0 var(--line); }
.v2 .bb-b2__search + .bb-b2__tabs { margin-top: 28px; }
.v2 .bb-b2__tabs::-webkit-scrollbar { display: none; }
.v2 .bb-b2__tabs.is-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.v2 .bb-tab2 { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0; border: 0; background: none;
  font: 600 15px/1 Inter, sans-serif; color: var(--muted); white-space: nowrap; cursor: pointer; transition: color .15s ease; }
.v2 .bb-tab2:hover { color: var(--ink); }
.v2 .bb-tab2[aria-selected="true"] { color: var(--head); }
.v2 .bb-tab2[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent-ink); }
/* 1.16.4 My deals: role switch above the view tabs (founder's mock) */
.v2 .bb-roles { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); max-width: 100%; }
.v2 .bb-roles__b { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; }
.v2 .bb-roles__b svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.v2 .bb-roles__b:hover { color: var(--ink); }
.v2 .bb-roles__b[aria-pressed="true"] { background: var(--brand); color: #fff; }
.v2 .bb-roles__b:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 480px) { .v2 .bb-roles { display: flex; } .v2 .bb-roles__b { flex: 1; justify-content: center; padding: 0 10px; font-size: 14px; } }
.v2 .bb-tab2:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; border-radius: 6px; }
.v2 .bb-tab2__n { min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card);
  font: 700 11.5px/18px Inter, sans-serif; font-style: normal; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.v2 .bb-tab2__n:empty { display: none; }
.v2 .bb-tab2[aria-selected="true"] .bb-tab2__n { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 35%, transparent); background: color-mix(in srgb, var(--accent-ink) 10%, transparent); }

/* ---- two columns: filters | the list ---- */
.v2 .bb-b2__layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 32px; margin-top: 28px; align-items: start; }
.v2 .bb-b2__side { position: sticky; top: 88px; min-width: 0; }
.v2 .bb-b2__main { min-width: 0; }
.v2 .bb-filter2 { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.v2 .bb-filter2__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.v2 .bb-filter2__head h2 { margin: 0; font-size: 15px; font-weight: 700; color: var(--head); }
.v2 .bb-filter2__f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.v2 .bb-filter2__f > span { font-size: 12px; font-weight: 600; color: var(--muted); }
.v2 .bb-filter2 select { width: 100%; height: 40px; margin: 0; padding: 0 10px; border-radius: 10px; font-size: 14px; appearance: auto; }
.v2 .bb-short a { display: flex; align-items: center; min-height: 40px; padding: 0 2px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.v2 .bb-short a:hover { color: var(--accent-ink); }
.v2 .bb-short .bb-filter2__head + a { border-top: 0; }

/* ---- the list toolbar ---- */
.v2 .bb-b2__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 16px; }
.v2 .bb-b2__ttl { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; min-width: 0; }
.v2 .bb-b2__ttl h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--head); }
.v2 .bb-b2__found { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.v2 .bb-b2 .bb-board__chip { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 2px 4px 2px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--panel); font-size: 13px; font-weight: 600; color: var(--ink); }
.v2 .bb-b2 .bb-board__chip .bb-linkbtn { min-height: 28px; padding: 0 8px; font-size: 13px; }
.v2 .bb-b2__bar .bb-sort { flex: none; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.v2 .bb-b2__bar .bb-sort select { width: auto; min-width: 200px; height: 40px; margin: 0; padding: 0 12px; border-radius: 10px; font-size: 14px; appearance: auto; }
.v2 .bb-b2 .bb-board__list { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.v2 .bb-b2 .bb-board__note { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.v2 .bb-b2 .bb-board__state { padding: 40px 24px; border-radius: 14px; }
.v2 .bb-b2__more { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 24px 0 0; font-size: 14px; color: var(--muted); }
.v2 .bb-b2__more .bb-linkbtn { font-size: 14px; }

/* ---- empty states: an icon, a title, one line, one button ---- */
.v2 .bb-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 24px; text-align: center;
  border-radius: 14px; border: 1px dashed var(--line-2); background: color-mix(in srgb, var(--panel) 55%, transparent); }
.v2 .bb-empty > svg { width: 40px; height: 40px; margin-bottom: 6px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.v2 .bb-empty h2, .v2 .bb-empty h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--head); }
.v2 .bb-empty p { margin: 0; max-width: 440px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.v2 .bb-empty .bb-btn { margin-top: 10px; }
.v2 .bb-empty--page { padding: 64px 24px; }

/* ---- the card ---- */
.v2 .bb-card { position: relative; padding: 20px 22px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-grad);
  box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease; }
.v2 .bb-card:hover { border-color: color-mix(in srgb, var(--line-2) 55%, var(--muted)); }
.v2 .bb-card.bb-req--mine { border-color: var(--line); }
.v2 .bb-card.bb-req--mine:hover { border-color: color-mix(in srgb, var(--line-2) 55%, var(--muted)); }
.v2 .bb-card.is-hl { border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-ink) 22%, transparent); }
.v2 .bb-card.bb-req--completed, .v2 .bb-card.bb-req--cancelled, .v2 .bb-card.bb-req--expired, .v2 .bb-card.bb-req--closed { opacity: 1; }
.v2 .bb-card.bb-req--cancelled .bb-card__body, .v2 .bb-card.bb-req--expired .bb-card__body, .v2 .bb-card.bb-req--closed .bb-card__body,
.v2 .bb-card.bb-req--cancelled .bb-card__facts, .v2 .bb-card.bb-req--expired .bb-card__facts, .v2 .bb-card.bb-req--closed .bb-card__facts { opacity: .72; }
.v2 .bb-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.v2 .bb-pill2, .v2 .bb-card .bb-req__status { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; max-width: 100%; padding: 3px 10px;
  border-radius: 999px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--panel) 60%, transparent);
  font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.v2 .bb-pill2 svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.v2 .bb-pill2--ask, .v2 .bb-pill2--mine { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 30%, transparent); background: transparent; }
.v2 .bb-card__when { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
/* status pills: readable on the dark ground (P2 — brand blue was 3:1) */
.v2 .bb-card .bb-req__status--open { color: var(--money); border-color: color-mix(in srgb, var(--money) 40%, transparent); background: color-mix(in srgb, var(--money) 10%, transparent); }
.v2 .bb-card .bb-req__status--flying, .v2 .bb-card .bb-req__status--matched, .v2 .bb-card .bb-req__status--in_transit {
  color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 40%, transparent); background: color-mix(in srgb, var(--accent-ink) 10%, transparent); }
.v2 .bb-card .bb-req__status--delivered_claimed { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.v2 .bb-card .bb-req__status--completed { color: var(--money); border-color: transparent; background: color-mix(in srgb, var(--money) 14%, transparent); }
.v2 .bb-card .bb-req__status--cancelled, .v2 .bb-card .bb-req__status--expired, .v2 .bb-card .bb-req__status--closed, .v2 .bb-card .bb-req__status--departed { color: var(--muted); }
.v2 .bb-card .bb-req__status--disputed { color: var(--no-ink); border-color: color-mix(in srgb, var(--no-ink) 40%, transparent); background: color-mix(in srgb, var(--no-ink) 10%, transparent); }

.v2 .bb-card__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: start; margin-top: 14px; }
.v2 .bb-card__main { min-width: 0; }
.v2 .bb-card .bb-req__route { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 0; font-size: 21px; font-weight: 700;
  line-height: 1.25; letter-spacing: -.01em; color: var(--head); overflow-wrap: anywhere; }
.v2 .bb-card .bb-req__route > span { min-width: 0; }
.v2 .bb-card .bb-req__route svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v2 .bb-card .bb-req__note { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; text-wrap: pretty; }
.v2 .bb-card__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 0; max-width: 240px; text-align: right; }
.v2 .bb-card__price b { font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--head); white-space: nowrap; }
.v2 .bb-card__price span { font-size: 11.5px; line-height: 1.35; color: var(--muted); }
.v2 .bb-card__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 20px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.v2 .bb-card__facts > div { min-width: 0; }
.v2 .bb-card__facts dt { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.v2 .bb-card__facts dd { margin: 4px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.v2 .bb-fee { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--warn); }
.v2 .bb-card .bb-req__deal { margin-top: 16px; }
.v2 .bb-card .bb-deal { border-radius: 12px; border-color: var(--line); background: color-mix(in srgb, var(--bg) 40%, transparent); }
.v2 .bb-card .bb-deal__note { border-color: color-mix(in srgb, var(--accent-ink) 30%, transparent); }
.v2 .bb-card .bb-deal__badge { color: var(--accent-ink); background: color-mix(in srgb, var(--accent-ink) 12%, transparent); }
.v2 .bb-card .bb-deal .bb-req__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.v2 .bb-card .bb-deal .bb-btn { height: 40px; padding: 0 14px; font-size: 13.5px; }
.v2 .bb-card .bb-req__panel { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.v2 .bb-card .bb-req__panel[hidden] { display: none; }

/* the foot: who on the left, the actions on the right; notes about the state on a line of their own above */
.v2 .bb-req__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.v2 .bb-req__foot > .bb-req__acts { display: contents; }
.v2 .bb-req__who { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; }
.v2 .bb-card .bb-req__av { width: 32px; height: 32px; border: 0; background: var(--avatar); color: var(--avatar-ink); font-size: 13px; }
.v2 .bb-req__who > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.v2 .bb-req__who b { font-size: 13.5px; font-weight: 700; color: var(--head); }
.v2 .bb-req__who i { font-style: normal; font-size: 12px; color: var(--muted); }
.v2 .bb-req__when2 { display: none; }
.v2 .bb-req__foot .bb-req__hint, .v2 .bb-req__foot .bb-req__contact { order: -1; flex: 1 1 100%; align-self: auto; margin: 0; font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
.v2 .bb-req__foot .bb-req__hint + .bb-req__hint { margin-top: -4px; }
.v2 .bb-req__foot .bb-btn { height: 40px; padding: 0 14px; font-size: 13.5px; }
.v2 .bb-req__foot .bb-btn--link { padding: 0 8px; }
.v2 .bb-req__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; font-weight: 600; color: var(--muted); }
.v2 .bb-req__contact a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--accent-ink); }
.v2 .bb-card > .bb-msg { margin: 10px 0 0; }

/* offers, the log, a trip's inbox */
.v2 .bb-card .bb-req__h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--head); }
.v2 .bb-card .bb-offer-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.v2 .bb-card .bb-offer-row:last-child { border-bottom: 0; }
.v2 .bb-card .bb-offer-row__body p { overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.v2 .bb-card .bb-offer-row__body small { display: block; line-height: 1.5; overflow-wrap: anywhere; }
.v2 .bb-card .bb-offer-row__act { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.v2 .bb-card .bb-offer-row__act .bb-btn { height: 40px; }
.v2 .bb-card .bb-offer .bb-board__acts { margin-top: 4px; }
.v2 .bb-card .bb-offer .bb-btn { height: auto; min-height: 44px; padding: 10px 16px; white-space: normal; line-height: 1.25; text-align: center; }
.v2 .bb-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.v2 .bb-log li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.v2 .bb-log li:first-child { border-top: 0; }
.v2 .bb-log time { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.v2 .bb-log b { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.v2 .bb-log span { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.v2 .bb-log em { font-style: normal; font-weight: 600; color: var(--accent-ink); }
.v2 .bb-b2 .bb-trip { display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; border-radius: 0; }
.v2 .bb-b2 .bb-board__list > .bb-trip + .bb-trip { margin-top: 8px; }
.v2 .bb-trip__asks { display: flex; flex-direction: column; gap: 10px; margin-left: 22px; padding-left: 18px; border-left: 2px solid var(--line); }
.v2 .bb-trip__h { margin: 2px 0 0; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.v2 .bb-trip__asks > .bb-req__hint { font-size: 13.5px; color: var(--muted); }
.v2 .bb-trip__fin > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); cursor: pointer; list-style: none; }
.v2 .bb-trip__fin > summary::-webkit-details-marker { display: none; }
.v2 .bb-trip__fin > summary::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.v2 .bb-trip__fin[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
.v2 .bb-trip__fin[open] > .bb-card { margin-top: 10px; }
.v2 .bb-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.v2 .bb-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---- trust strip ---- */
.v2 .bb-b2__trust { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 56px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.v2 .bb-b2__trust li { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.v2 .bb-b2__trust i { flex: none; padding-top: 2px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.v2 .bb-b2__trust b { display: block; margin-bottom: 4px; font-size: 14.5px; font-weight: 700; color: var(--head); }
.v2 .bb-b2__trust span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ---- compose: a form in place of the lists ---- */
.v2 .bb-b2__browse { display: block; }
.v2 .bb-b2[data-compose="request"] .bb-b2__browse, .v2 .bb-b2[data-compose="trip"] .bb-b2__browse { display: none; }
.v2 .bb-compose { max-width: 880px; margin: 0 0 28px; padding: 26px 32px 32px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line);
  box-shadow: none; display: flex; flex-direction: column; gap: 22px; scroll-margin-top: 88px; }
.v2 .bb-b2[data-compose] .bb-compose { margin-bottom: 0; }
.v2 .bb-board__form.bb-compose .bb-label, .v2 .bb-board__form.bb-compose .bb-board__grid + .bb-board__grid { margin-top: 0; }
.v2 .bb-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin: -6px 0 -8px -6px; padding: 0 8px;
  border: 0; border-radius: 8px; background: none; font: 600 14px/1 Inter, sans-serif; color: var(--accent-ink); cursor: pointer; }
.v2 .bb-back:hover { color: var(--head); }
.v2 .bb-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v2 .bb-compose__head h2 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--head); }
.v2 .bb-compose__head h2:focus { outline: none; }
.v2 .bb-compose__head p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.v2 .bb-compose .bb-board__note { margin: 0; }
.v2 .bb-compose .bb-compose__route { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v2 .bb-compose__wide { grid-column: 1 / -1; }
.v2 .bb-compose__block { display: flex; flex-direction: column; gap: 10px; }
.v2 .bb-compose__block > .bb-label, .v2 .bb-dialog .bb-compose__block > .bb-label { margin: 0; }
.v2 .bb-compose .bb-scenario, .v2 .bb-dialog .bb-scenario { margin: 0; }
.v2 .bb-compose .bb-hint { margin: -8px 0 0; }
.v2 .bb-compose .bb-board__acts { margin: 0; gap: 10px; }
.v2 .bb-compose .bb-board__acts .bb-btn { height: 48px; padding: 0 22px; font-size: 15px; }
.v2 .bb-b2 .bb-input--area, .v2 .bb-dialog .bb-input--area { min-height: 104px; }
.v2 .bb-b2 .bb-field:focus-within, .v2 .bb-dialog .bb-field:focus-within { border-color: var(--link); }
.v2 .bb-compose .bb-review-box { gap: 12px; padding: 16px 18px; border-radius: 14px; border-color: color-mix(in srgb, var(--accent-ink) 35%, transparent); }
.v2 .bb-compose .bb-review-box .bb-req__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.v2 .bb-compose .bb-msg, .v2 .bb-dialog .bb-msg { margin: 0; }
.v2 .bb-compose .bb-msg.bad, .v2 .bb-dialog .bb-msg.bad, .v2 .bb-compose .bb-msg.info, .v2 .bb-dialog .bb-msg.info {
  padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.v2 .bb-compose .bb-msg.bad, .v2 .bb-dialog .bb-msg.bad { border: 1px solid color-mix(in srgb, var(--no-ink) 40%, transparent); background: color-mix(in srgb, var(--no-ink) 9%, transparent); }
.v2 .bb-compose .bb-msg.info, .v2 .bb-dialog .bb-msg.info { border: 1px solid color-mix(in srgb, var(--accent-ink) 35%, transparent); background: color-mix(in srgb, var(--accent-ink) 8%, transparent); color: var(--ink); }
/* the field a message is about (visual review: the message used to print far from it, the cursor jumped to the top) */
.v2 .bb-field.is-invalid, .v2 .bb-b2 .bb-fs.is-invalid, .v2 .bb-dialog .bb-fs.is-invalid, .v2 .bb-seg.is-invalid { border-color: var(--no-ink); box-shadow: inset 0 0 0 1px var(--no-ink); }
.v2 .bb-input[aria-invalid="true"], .v2 .bb-field [aria-invalid="true"] { border-color: var(--no-ink); }
.v2 .bb-label.is-invalid > span { color: var(--no-ink); }

/* fieldsets: the title inside the box, its (i) on the same line */
.v2 .bb-b2 .bb-fs, .v2 .bb-dialog .bb-fs { padding: 14px 18px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); min-width: 0; }
.v2 .bb-b2 .bb-fs > legend, .v2 .bb-dialog .bb-fs > legend { float: left; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 0 0 4px; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; color: var(--muted); }
.v2 .bb-b2 .bb-fs > legend > span, .v2 .bb-dialog .bb-fs > legend > span { flex: 1 1 auto; min-width: 0; }
.v2 .bb-b2 .bb-fs > legend .bb-info { flex: none; margin: -12px -12px -12px 0; }
.v2 .bb-b2 .bb-fs > legend + *, .v2 .bb-dialog .bb-fs > legend + * { clear: both; }
.v2 .bb-b2 .bb-radio, .v2 .bb-dialog .bb-radio { align-items: flex-start; gap: 10px; min-height: 40px; padding: 8px 0; font-size: 14px; font-weight: 500; line-height: 1.45; }
.v2 .bb-b2 .bb-radio input, .v2 .bb-dialog .bb-radio input { flex: none; margin: 2px 0 0; }
.v2 .bb-b2 .bb-radio > span, .v2 .bb-dialog .bb-radio > span { min-width: 0; overflow-wrap: anywhere; }
.v2 .bb-b2 .bb-radio em, .v2 .bb-dialog .bb-radio em { font-style: normal; font-weight: 700; color: var(--head); }
.v2 .bb-radio .bb-fee { margin-top: 3px; font-weight: 600; color: var(--warn); }
.v2 .bb-b2 .bb-ho__fee { margin: 0 0 6px 28px; padding: 4px 12px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); }
.v2 .bb-b2 .bb-ho__fee .bb-input--sm, .v2 .bb-b2 .bb-price > .bb-input--sm { max-width: 280px; height: 44px; margin: 2px 0 8px 28px; border-radius: 10px; }
.v2 .bb-b2 .bb-ho-grid { gap: 12px; }

/* the parcel type: equal tiles */
.v2 .bb-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.v2 .bb-cats--5 { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
.v2 .bb-cats .bb-seg__opt { display: flex; min-width: 0; }
.v2 .bb-cats .bb-seg__opt span { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 6px 10px; text-align: center;
  border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--ink); transition: border-color .15s ease, background-color .15s ease; }
.v2 .bb-cats .bb-seg__opt:hover span { border-color: color-mix(in srgb, var(--line-2) 50%, var(--muted)); }
.v2 .bb-cats .bb-seg__opt input:checked + span { border-color: var(--accent-ink); background: color-mix(in srgb, var(--brand) 16%, var(--card)); color: var(--head); box-shadow: inset 0 0 0 1px var(--accent-ink); }
.v2 .bb-cats .bb-seg__opt input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }

/* ---- the date field and its calendar (F3: it rendered unstyled — the rules lived in the legacy style.css) ---- */
.v2 .bb-date { padding: 0; cursor: pointer; }
.v2 .bb-date__btn { appearance: none; display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 100%; min-height: 58px; margin: 0;
  padding: 10px 16px; border: 0; border-radius: inherit; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.v2 .bb-date__btn:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.v2 .bb-field__v.is-ph { color: var(--faint); font-weight: 500; }
.v2[data-theme="dark"] .bb-field__v.is-ph { color: #7A84A8; }
.v2 .bb-pop--cal { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; cursor: default; }
.v2 .bb-cal { width: 320px; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow-hi); color: var(--ink); text-align: left; }
.v2 .bb-cal__ttl { display: none; }
.v2 .bb-cal__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.v2 .bb-cal__mo { font-size: 15px; font-weight: 700; color: var(--head); }
.v2 .bb-cal__nav { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; }
.v2 .bb-cal__nav:hover:not(:disabled) { border-color: var(--accent-ink); color: var(--head); }
.v2 .bb-cal__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v2 .bb-cal__nav:disabled { opacity: .3; cursor: default; }
.v2 .bb-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.v2 .bb-cal__wd { padding: 6px 0; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.v2 .bb-cal__d { height: 40px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 600 14px/1 Inter, sans-serif;
  font-variant-numeric: tabular-nums; cursor: pointer; }
.v2 .bb-cal__d:hover:not(:disabled) { background: var(--card); }
.v2 .bb-cal__d.is-today { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-ink) 60%, transparent); color: var(--accent-ink); }
.v2 .bb-cal__d.is-sel, .v2 .bb-cal__d.is-sel:hover { background: var(--brand); color: #fff; box-shadow: none; }
.v2 .bb-cal__d:disabled { color: var(--faint); opacity: .5; cursor: default; }
.v2 .bb-cal__d:focus-visible { outline: 2px solid var(--link); outline-offset: 0; }
.v2 .bb-cal__foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.v2 .bb-cal__foot button { height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: none; font: 600 14px/1 Inter, sans-serif; color: var(--accent-ink); cursor: pointer; }
.v2 .bb-cal__foot button:hover:not(:disabled) { background: var(--card); }
.v2 .bb-cal__foot button:disabled { opacity: .4; cursor: default; }

/* ---- the dialogs ---- */
.v2 .bb-dialog { width: min(560px, calc(100vw - 24px)); max-width: none; border: 1px solid var(--line); border-radius: 18px; }
.v2 .bb-dialog__in { gap: 16px; }
.v2 .bb-dialog__in > h2:focus { outline: none; }
.v2 .bb-dialog .bb-label { margin: 0; }
.v2 .bb-ask__trip { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.v2 .bb-dialog .bb-ask__route { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 0; font-size: 17px; color: var(--head); overflow-wrap: anywhere; }
.v2 .bb-dialog .bb-ask__route b { font-weight: 700; min-width: 0; }
.v2 .bb-dialog .bb-ask__route svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v2 .bb-ask__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin: 12px 0 0; }
.v2 .bb-ask__facts > div { min-width: 0; }
.v2 .bb-ask__facts dt { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.v2 .bb-ask__facts dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.v2 [data-ask-offer].is-ro .bb-field__in { color: var(--muted); }
.v2 .bb-dialog .bb-ask__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.v2 .bb-dialog .bb-ask__total span { font-size: 14px; font-weight: 600; color: var(--muted); }
.v2 .bb-dialog .bb-ask__total b { min-width: 0; font-size: 22px; font-weight: 800; color: var(--head); text-align: right; overflow-wrap: anywhere; }
.v2 .bb-dialog .bb-board__acts { margin: 0; gap: 10px; }

/* ---- below 900: the filters become a compact block above the list ---- */
@media (max-width: 900px) {
  .v2 .bb-b2 { padding-top: 36px; }
  .v2 .bb-b2__layout { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
  .v2 .bb-b2__side { position: static; }
  .v2 .bb-filter2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 12px; padding: 14px 16px 16px; }
  .v2 .bb-filter2__head { grid-column: 1 / -1; }
  .v2 .bb-filter2__f:last-child { grid-column: 1 / -1; }
  .v2 .bb-short { display: none; }
  .v2 .bb-card__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v2 .bb-b2 .bb-ho-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) and (min-width: 561px) {
  /* two rows: From ⇄ To, then the date and Find */
  .v2 .bb-b2__search { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); }
  .v2 .bb-b2__search > .bb-b2__sd { grid-column: 1 / span 2; grid-row: 2; }
  .v2 .bb-b2__search > .bb-b2__find { grid-column: 3; grid-row: 2; justify-self: end; margin-right: 4px; }
  .v2 .bb-b2__sd::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; }
}
@media (max-width: 560px) {
  /* From and To stacked with the swap beside them, then the date, then Find across */
  .v2 .bb-b2__search { grid-template-columns: minmax(0, 1fr) 52px; }
  .v2 .bb-b2__search > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .v2 .bb-b2__search > .bb-b2__swap { grid-column: 2; grid-row: 1 / span 2; }
  .v2 .bb-b2__swap svg { transform: rotate(90deg); }
  .v2 .bb-b2__search > :nth-child(3) { grid-column: 1; grid-row: 2; }
  .v2 .bb-b2__search > .bb-b2__sd { grid-column: 1 / -1; grid-row: 3; }
  .v2 .bb-b2__search > .bb-b2__find { grid-column: 1 / -1; grid-row: 4; margin: 6px 0 0; }
  .v2 .bb-b2__search > :nth-child(3)::before, .v2 .bb-b2__sd::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; background: var(--line); opacity: 1; }
  .v2 .bb-b2__search > :nth-child(3) { position: relative; }
  .v2 .bb-b2__search .bb-field:hover::before, .v2 .bb-b2__search .bb-field:focus-within::before { opacity: 0; }
}
@media (max-width: 760px) {
  .v2 .bb-b2__trust { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 40px; }
  .v2 .bb-card__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2 .bb-b2 .bb-ho-grid { grid-template-columns: minmax(0, 1fr); }
}
/* ---- phones ---- */
@media (max-width: 640px) {
  .v2 .bb-b2__head { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 22px; }
  .v2 .bb-b2__h1 { font-size: 30px; }
  .v2 .bb-b2__sub { font-size: 14.5px; }
  .v2 .bb-b2__cta, .v2 .bb-chooser, .v2 .bb-b2__post, .v2 .bb-b2__cta > .bb-btn { width: 100%; }
  .v2 .bb-chooser__menu { left: 0; right: 0; width: auto; }
  .v2 .bb-card { padding: 16px 16px 14px; }
  .v2 .bb-card__body { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .v2 .bb-card__price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; max-width: none; text-align: left; }
  .v2 .bb-card .bb-req__route { font-size: 19px; }
  .v2 .bb-card__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .v2 .bb-cats, .v2 .bb-cats--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2 .bb-cats--5 > :first-child { grid-column: 1 / -1; }
  .v2 .bb-compose { padding: 20px 16px 22px; border-radius: 16px; gap: 18px; }
  .v2 .bb-compose__head h2 { font-size: 22px; }
  .v2 .bb-compose .bb-compose__route { grid-template-columns: minmax(0, 1fr); }
  .v2 .bb-trip__asks { margin-left: 8px; padding-left: 12px; }
  .v2 .bb-log li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .v2 .bb-log span { justify-content: flex-start; }
  .v2 .bb-card .bb-offer-row { grid-template-columns: 32px minmax(0, 1fr); }
  .v2 .bb-card .bb-offer-row__act { grid-column: 1 / -1; justify-content: stretch; }
  .v2 .bb-card .bb-offer-row__act .bb-btn { flex: 1 1 140px; width: auto; }
  .v2 .bb-ask__facts { gap: 10px 12px; }
  .v2 .bb-dialog__in { padding: 20px 16px; }
}
@media (max-width: 560px) {
  /* the toolbar stacks the same way in both languages; buttons may wrap their words, never the page */
  .v2 .bb-b2__bar { flex-direction: column; align-items: stretch; }
  .v2 .bb-b2__bar .bb-sort { justify-content: space-between; }
  .v2 .bb-b2__bar .bb-sort select { flex: 1 1 auto; min-width: 0; }
  .v2 .bb-b2 .bb-btn, .v2 .bb-dialog .bb-btn { height: auto; min-height: 44px; padding: 10px 16px; white-space: normal; line-height: 1.25; text-align: center; }
  .v2 .bb-req__who { flex: 1 1 100%; }
  .v2 .bb-card__when { display: none; }
  .v2 .bb-req__when2 { display: inline; }
  .v2 .bb-req__foot .bb-btn { flex: 1 1 140px; min-height: 44px; }
  .v2 .bb-req__foot .bb-btn--link { flex: 0 1 auto; }
  .v2 .bb-card .bb-deal .bb-req__acts .bb-btn { flex: 1 1 140px; }
  .v2 .bb-b2__tabs { gap: 22px; }
  .v2 .bb-compose .bb-board__acts .bb-btn, .v2 .bb-dialog .bb-board__acts .bb-btn { flex: 1 1 100%; height: auto; }
  .v2 .bb-b2 .bb-b2__find { height: auto; min-height: 48px; padding: 10px 16px; }
  /* the calendar is a sheet from the bottom of the screen */
  .v2 .bb-pop--cal.is-open, .v2 .bb-b2__search .bb-pop--cal.is-open { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center;
    background: rgba(5, 6, 15, .62); }
  .v2 .bb-pop--cal .bb-cal { width: 100%; max-width: 560px; padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; border-bottom: 0; }
  .v2 .bb-pop--cal .bb-cal__d { height: 44px; font-size: 15px; }
  .v2 .bb-pop--cal .bb-cal__ttl { display: block; margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
}

/* ---- 1.14.0 lead: phones — the filters fold to one line, the shortcuts go (the menu has them) ---- */
.v2 .bb-filter2__toggle { all: unset; display: inline-flex; align-items: center; gap: 8px; font: inherit; color: inherit; }
.v2 .bb-filter2__toggle svg { display: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--fade); }
.v2 .bb-filter2__n:not(:empty) { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--tint); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
@media (min-width: 901px) { .v2 .bb-filter2__toggle { pointer-events: none; } }
@media (max-width: 900px) {
  .v2 .bb-filter2__toggle { cursor: pointer; min-height: 44px; }
  .v2 .bb-filter2__toggle:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 6px; }
  .v2 .bb-filter2__toggle svg { display: block; }
  .v2 .bb-filter2.is-open .bb-filter2__toggle svg { transform: rotate(180deg); }
  .v2 .bb-filter2[data-board-filter]:not(.is-open) .bb-filter2__f { display: none; }
  .v2 .bb-filter2[data-board-filter]:not(.is-open) { padding-top: 6px; padding-bottom: 6px; }
  .v2 .bb-short { display: none; }
}

/* ---- 1.15.0: secure deals (Stripe) — the pill, the choice under the route, the payment panel, Finance → Payouts ---- */
.v2 .bb-pill2--secure { color: var(--money); border-color: color-mix(in srgb, var(--money) 40%, transparent); background: color-mix(in srgb, var(--money) 10%, transparent); }
.v2 .bb-scenario--secure { background: color-mix(in srgb, var(--money) 10%, transparent); border-color: color-mix(in srgb, var(--money) 35%, transparent); }
.v2 .bb-scenario__q { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.v2 .bb-scenario .bb-radio { align-items: flex-start; min-height: 0; padding: 8px 0; font-weight: 500; line-height: 1.45; }
.v2 .bb-scenario .bb-radio input { flex: none; margin-top: 2px; }
.v2 .bb-scenario .bb-radio em { font-style: normal; font-weight: 700; }
.v2 .bb-scenario__n { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--muted); }

.v2 .bb-pay { display: grid; gap: 10px; margin-top: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--money) 35%, transparent);
  background: color-mix(in srgb, var(--money) 7%, transparent); }
.v2 .bb-pay--refunded, .v2 .bb-pay--split, .v2 .bb-pay--release_failed { border-color: var(--line-2); background: color-mix(in srgb, var(--bg) 40%, transparent); }
.v2 .bb-pay__head { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.v2 .bb-pay__head svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--money); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.v2 .bb-pay__test { margin-left: auto; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); }
.v2 .bb-pay__sum { display: grid; gap: 6px; margin: 0; }
.v2 .bb-pay__sum > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.v2 .bb-pay__sum dt { color: var(--muted); }
.v2 .bb-pay__sum dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.v2 .bb-pay__sum > .is-total { padding-top: 8px; border-top: 1px solid var(--line-2); font-size: 15px; }
.v2 .bb-pay__sum > .is-total dt, .v2 .bb-pay__sum > .is-total dd { color: var(--ink); font-weight: 700; }
.v2 .bb-pay__note { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.v2 .bb-pay__note b { font-weight: 700; white-space: nowrap; }
.v2 .bb-pay__testn { margin: 0; font-size: 12.5px; color: var(--warn); }
.v2 .bb-pay .bb-req__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.v2 .bb-btn--pay { min-width: 180px; }
.v2 .bb-pay__link { font-size: 13.5px; font-weight: 600; color: var(--link); }

.v2 .bb-payouts { margin-top: 22px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.v2 .bb-payouts .bb-h2 { margin-top: 0; }
.v2 .bb-payouts__state { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.v2 .bb-payouts select.bb-input { width: 100%; max-width: 420px; }
@media (max-width: 560px) { .v2 .bb-btn--pay { width: 100%; } }

/* 1.15.0: dispute statements, and the payouts box clears the sticky header when the page opens on #payouts */
.v2 .bb-req__h4 { margin: 16px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.v2 .bb-disp__said { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v2 .bb-disp__said li { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 40%, transparent); }
.v2 .bb-disp__said b { font-size: 13px; color: var(--ink); }
.v2 .bb-disp__said span { margin-left: 8px; font-size: 12px; color: var(--muted); }
.v2 .bb-disp__said p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.v2 .bb-disp__add { margin-top: 12px; }
.v2 .bb-disp__add .bb-req__acts { display: flex; gap: 10px; margin-top: 8px; }
.v2 .bb-payouts { scroll-margin-top: 96px; }

/* ===================================================================== 1.15.2 */

/* ---- the confirmation dialog: what will happen, the safe choice focused ---- */
.v2 .bb-confirm { width: min(480px, calc(100vw - 24px)); }
.v2 .bb-confirm h2 { margin: 0; font-size: 20px; line-height: 1.3; color: var(--head); }
.v2 .bb-confirm__b { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.v2 .bb-confirm__acts { justify-content: flex-end; flex-wrap: wrap; }
.v2 .bb-btn--danger-solid { background: var(--no-ink); border-color: var(--no-ink); color: #fff; }
.v2[data-theme="dark"] .bb-btn--danger-solid { color: #1B0503; }
.v2 .bb-dialog::backdrop { background: rgba(5, 8, 20, .55); }

/* ---- "More": the card's secondary actions folded into one menu ---- */
.v2 .bb-more { position: relative; display: inline-block; }
.v2 .bb-more > summary { list-style: none; cursor: pointer; user-select: none; }
.v2 .bb-more > summary::-webkit-details-marker { display: none; }
.v2 .bb-more > summary::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.v2 .bb-more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.v2 .bb-more__pop { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 20; min-width: 220px; display: flex; flex-direction: column; padding: 6px;
  border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); box-shadow: 0 12px 32px rgba(5, 10, 40, .18); }
.v2 .bb-more__pop .bb-btn.bb-more__item, .v2 .bb-b2 .bb-more__pop .bb-btn.bb-more__item { flex: none; justify-content: flex-start; width: 100%; height: auto; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); text-align: left; white-space: normal; }
.v2 .bb-more__pop .bb-btn.bb-more__item:hover, .v2 .bb-more__pop .bb-btn.bb-more__item:focus-visible { background: var(--card); }
.v2 .bb-more__pop .bb-btn--danger { color: var(--no-ink); }

/* ---- a note that stays in view: the toast ---- */
.v2 .bb-toast, .bb-toast { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; transform: translateX(-50%);
  display: flex; align-items: flex-start; gap: 10px; width: min(560px, calc(100vw - 24px)); padding: 14px 14px 14px 18px; border-radius: 14px;
  background: #0B1430; color: #F4F6FC; font: 500 14.5px/1.5 Inter, system-ui, sans-serif; box-shadow: 0 14px 40px rgba(5, 10, 40, .35); }
.bb-toast[hidden] { display: none; }
.bb-toast > span { flex: 1; min-width: 0; }
.bb-toast--ok { border-left: 4px solid #34D399; }
.bb-toast--info { border-left: 4px solid #7C99FF; }
.bb-toast--bad { border-left: 4px solid #FCA5A5; }
.bb-toast__x { flex: none; width: 32px; height: 32px; margin: -6px -4px -6px 0; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.bb-toast__x:hover { background: rgba(255, 255, 255, .1); }

/* ---- a small spinner for "confirming…" / "opening Stripe…" ---- */
.v2 .bb-spin { display: inline-block; flex: none; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: bb-spin .8s linear infinite; }
@keyframes bb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .v2 .bb-spin { animation-duration: 2.4s; } }

/* ---- a linked deal: clearly marked; on the public board, pinned under its own heading ---- */
.v2 .bb-card.is-hl { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent), 0 10px 28px color-mix(in srgb, var(--brand) 14%, transparent); }
.v2 .bb-card.is-hl:focus { outline: none; }
.v2 .bb-req, .v2 .bb-card { scroll-margin-top: 96px; }
.v2 .bb-pin { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.v2 .bb-pin__t { margin: 0; font-size: 16px; font-weight: 800; color: var(--head); }

/* ---- form errors that sit with the field; required markers; the frozen form under the review ---- */
.v2 .bb-field-err { margin: 4px 0 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--no-ink); text-transform: none; letter-spacing: 0; }
.v2 .bb-field-err[hidden] { display: none; }
.v2 form > .bb-field-err { padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--no-ink) 40%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--no-ink) 9%, transparent); }
.v2 .is-req .bb-field__k::after, .v2 [data-required] .bb-field__k::after { content: " *"; color: var(--no-ink); }
.v2 .bb-req-note { display: inline-block; font-size: 13px; color: var(--muted); }
.v2 .is-frozen { opacity: .55; }
.v2 .bb-label.is-invalid > .bb-input, .v2 .bb-label.is-invalid > textarea { border-color: var(--no-ink); box-shadow: inset 0 0 0 1px var(--no-ink); }

/* ---- the payment box: confirming after Stripe, back without paying ---- */
.v2 .bb-pay__wait { display: flex; align-items: center; color: var(--money); font-weight: 600; }
.v2 .bb-pay__back { color: var(--warn); font-weight: 600; }

/* ---- offers: who each carrier is ---- */
.v2 .bb-offer-row__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 4px; }
.v2 .bb-offer-row__who b { color: var(--head); font-size: 15px; }
.v2 .bb-offer-row__who span { font-size: 13px; color: var(--muted); }
.v2 .bb-req__av--img { object-fit: cover; border-radius: 50%; width: 36px; height: 36px; flex: none; }
.v2 .bb-pill2--ok { color: var(--money); border-color: color-mix(in srgb, var(--money) 40%, transparent); background: color-mix(in srgb, var(--money) 10%, transparent); }

/* ---- a ruled dispute: the decision's reason, readable ---- */
.v2 .bb-disp__why { margin: 6px 0 0; padding: 10px 14px; border-left: 3px solid var(--accent-ink); background: var(--card); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.5; color: var(--ink); }

/* ---- Finance → Payouts: the guided setup ---- */
.v2 .bb-payouts { margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.v2 .bb-payouts__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.v2 .bb-payouts__head .bb-h2 { margin: 0; }
.v2 .bb-payouts__body { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.v2 .bb-payouts__body > p { margin: 0; line-height: 1.55; }
.v2 .bb-po__t { margin: 0; font-size: 17px; color: var(--head); }
.v2 .bb-po__need { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.v2 .bb-po__need li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.v2 .bb-po__need li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 7px; height: 12px; border: solid var(--money); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.v2 .bb-po__warn { padding: 10px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 9%, transparent); color: var(--ink); font-size: 14px; }
.v2 .bb-po__country { max-width: 420px; }
.v2 .bb-po__state { font-size: 15px; color: var(--ink); }
.v2 .bb-po__due { font-size: 15px; color: var(--ink); background: color-mix(in srgb, var(--warn) 10%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.v2 .bb-po__facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
.v2 .bb-po__facts dt { color: var(--muted); font-weight: 600; }
.v2 .bb-po__facts dd { margin: 0; color: var(--head); font-weight: 600; overflow-wrap: anywhere; }
.v2 .bb-po__opening { display: flex; align-items: center; color: var(--muted); }
.v2 .bb-po__restart { align-self: flex-start; min-height: 44px; }
.v2 .bb-po-line a { font-weight: 700; color: var(--link); }
.v2 .bb-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid var(--line-2); color: var(--muted); background: var(--card); }
.v2 .bb-chip[hidden] { display: none; }
.v2 .bb-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.v2 .bb-chip--ready { color: var(--money); border-color: color-mix(in srgb, var(--money) 40%, transparent); background: color-mix(in srgb, var(--money) 10%, transparent); }
.v2 .bb-chip--action, .v2 .bb-chip--started { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.v2 .bb-chip--review { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 35%, transparent); background: color-mix(in srgb, var(--accent-ink) 9%, transparent); }
.v2 .bb-chip--restricted { color: var(--no-ink); border-color: color-mix(in srgb, var(--no-ink) 40%, transparent); background: color-mix(in srgb, var(--no-ink) 9%, transparent); }

/* ---- Finance: the money list links to each deal, with totals ---- */
.v2 .bb-fin-tot { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: var(--head); }
.v2 .bb-rewards li.bb-rewards__i { padding: 0; }
.v2 .bb-rewards__i a { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; color: inherit; text-decoration: none; border-radius: 12px; }
.v2 .bb-rewards__i a:hover { background: color-mix(in srgb, var(--brand) 5%, transparent); }
.v2 .bb-rewards__i a > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2 .bb-rewards__i b { color: var(--head); overflow-wrap: anywhere; }
.v2 .bb-rewards__i i { font-style: normal; font-size: 13px; color: var(--muted); }
.v2 .bb-rewards__i strong { flex: none; color: var(--head); font-size: 15px; }
.v2 .bb-rewards__i--refund strong, .v2 .bb-rewards__i--out strong { color: var(--money); }
.v2 .bb-finance .bb-board__tabs .bb-tab { min-height: 44px; }
.v2 .bb-btn[disabled], .v2 .bb-btn:disabled { opacity: .45; cursor: not-allowed; filter: saturate(.6); }

/* ---- the avatar's dot: payouts need attention ---- */
.v2 [data-auth-menu].has-alert { position: relative; }
.v2 [data-auth-menu].has-alert::after { content: ""; position: absolute; top: -2px; right: -2px; width: 11px; height: 11px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 2px var(--panel); }
.v2 .bb-dot { display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--warn); vertical-align: middle; }

/* ---- profile ---- */
.v2 .bb-name2 { gap: 12px; }
.v2 .bb-signout { margin: 28px 0 8px; }
.v2 .bb-photo__ph { display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: var(--avatar-ink, var(--head)); }
.v2 .bb-btn--danger { border-color: var(--no-ink); color: var(--no-ink); }
.v2 .bb-danger form[hidden] { display: none; }

/* ---- radios and checkboxes that read as choices, not as disabled controls ---- */
.v2 .bb-radio input[type="radio"], .v2 .bb-check input[type="checkbox"], .v2 .bb-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; display: inline-grid; place-content: center; flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  border: 2px solid var(--muted); background: var(--panel); cursor: pointer; transition: border-color .12s, background-color .12s; }
.v2 .bb-radio input[type="radio"] { border-radius: 50%; }
.v2 .bb-check input[type="checkbox"], .v2 .bb-consent input[type="checkbox"] { border-radius: 5px; }
.v2 .bb-radio input[type="radio"]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; transform: scale(0); background: var(--brand); transition: transform .12s; }
.v2 .bb-radio input[type="radio"]:checked { border-color: var(--brand); }
.v2 .bb-radio input[type="radio"]:checked::before { transform: scale(1); }
.v2 .bb-check input[type="checkbox"]::before, .v2 .bb-consent input[type="checkbox"]::before { content: ""; width: 5px; height: 10px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .12s; }
.v2 .bb-check input[type="checkbox"]:checked, .v2 .bb-consent input[type="checkbox"]:checked { border-color: var(--brand); background: var(--brand); }
.v2 .bb-check input[type="checkbox"]:checked::before, .v2 .bb-consent input[type="checkbox"]:checked::before { transform: rotate(45deg) scale(1); }
.v2 .bb-radio input:focus-visible, .v2 .bb-check input:focus-visible, .v2 .bb-consent input:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.v2 .bb-radio input:disabled { opacity: .4; cursor: default; }

/* ---- tap targets: 44 px on a phone ---- */
.v2 .bb-b2__swap { width: 44px; height: 44px; }
.v2 .bb-b2__bar .bb-sort select { height: 44px; }
.v2 .bb-b2 [data-filter-reset], .v2 .bb-b2 [data-more-post], .v2 .bb-b2__more .bb-linkbtn { min-height: 44px; }
@media (max-width: 640px) {
  .v2 .bb-linkbtn { min-height: 44px; }
  .v2 .bb-b2 .bb-board__chip .bb-linkbtn { min-height: 44px; }
}

/* ---- finished cards: muted, still readable (4.5:1) ---- */
.v2 .bb-card.bb-req--cancelled .bb-card__body, .v2 .bb-card.bb-req--expired .bb-card__body, .v2 .bb-card.bb-req--closed .bb-card__body,
.v2 .bb-card.bb-req--cancelled .bb-card__facts, .v2 .bb-card.bb-req--expired .bb-card__facts, .v2 .bb-card.bb-req--closed .bb-card__facts { opacity: .86; }

/* ---- phone: a scrolling tab row says so; composing hides the page intro ---- */
@media (max-width: 640px) {
  .v2 .bb-b2__tabs.is-more { position: relative; }
  .v2 .bb-b2__tabs.is-more::after { content: "›"; position: sticky; right: 0; flex: none; display: flex; align-items: center; padding: 0 2px 0 10px; font-size: 22px; font-weight: 700; color: var(--accent-ink); }
  .v2 [data-board-root][data-compose="request"] .bb-b2__head, .v2 [data-board-root][data-compose="trip"] .bb-b2__head { display: none; }
}

/* ===================================================================== 1.15.2 round 3 */
.v2 .bb-chip--due, .v2 .bb-chip--hold { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.v2 .bb-chip--declined { color: var(--no-ink); border-color: color-mix(in srgb, var(--no-ink) 40%, transparent); background: color-mix(in srgb, var(--no-ink) 9%, transparent); }
.v2 .bb-pill2--muted { color: var(--muted); border-color: var(--line-2); background: transparent; }
.v2 .bb-sr, .bb-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.v2 .bb-filter2__toggle:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 8px; }
.v2 .bb-b2 [data-filter-reset] { min-width: 44px; justify-content: center; }
.v2 .bb-offer-row__act .bb-btn:disabled { opacity: .5; }

/* 1.15.2: every dropdown draws its own chevron, 16px in from the right edge (the native arrow sat against the border) */
.v2 select, .v2 select.bb-input, .v2 .bb-filter2 select, .v2 .bb-b2__bar .bb-sort select, .v2 .bb-dialog select.bb-input {
  appearance: none; -webkit-appearance: none;
  background-image: var(--chev); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px 16px;
  padding-right: 44px;
}
.v2 select::-ms-expand { display: none; }
/* the sort control sizes to its words (the drawn chevron's 44px gutter would otherwise push the results title onto two lines in RU at ~1024) */
.v2 .bb-b2__bar .bb-sort select { min-width: 0; padding-right: 36px; background-position: right 12px center; }

/* ===================================================================== 1.15.4 */
/* the review step's cost, read like a receipt: one line per amount, how the fee is worked out under its name, a ruled total */
.v2 .bb-cost { display: grid; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--money) 35%, transparent); background: color-mix(in srgb, var(--money) 7%, transparent); }
.v2 .bb-cost__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 15px; color: var(--ink); }
.v2 .bb-cost__lines { display: grid; gap: 10px; margin: 0; }
.v2 .bb-cost__lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; }
.v2 .bb-cost__lines dt { min-width: 0; color: var(--muted); }
.v2 .bb-cost__lines dt small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--muted); opacity: .85; }
.v2 .bb-cost__lines dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.v2 .bb-cost__lines .is-open dd { max-width: 55%; font-weight: 500; color: var(--muted); white-space: normal; }
.v2 .bb-cost__lines .is-total { padding-top: 10px; border-top: 1px solid var(--line-2); align-items: center; }
.v2 .bb-cost__lines .is-total dt { font-size: 15px; font-weight: 700; color: var(--ink); }
.v2 .bb-cost__lines .is-total dd { font-size: 19px; font-weight: 700; color: var(--ink); }
.v2 .bb-cost__lines .is-total.is-open dd { font-size: 14px; font-weight: 600; color: var(--muted); }
.v2 .bb-cost__when { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* the payment box carries the "Secure deal" label and the money's state; its total reads a step larger */
.v2 .bb-pay__head { flex-wrap: wrap; row-gap: 6px; }
.v2 .bb-pay__state { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--money); background: color-mix(in srgb, var(--money) 14%, transparent); }
.v2 .bb-pay--refunded .bb-pay__state, .v2 .bb-pay--split .bb-pay__state { color: var(--muted); background: color-mix(in srgb, var(--muted) 14%, transparent); }
.v2 .bb-pay--release_failed .bb-pay__state { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.v2 .bb-pay__sum > .is-total dd { font-size: 16px; }

/* posting: a little plane takes off over three hopping dots (the button keeps its size and colour while it works) */
.v2 .bb-btn.is-posting, .v2 .bb-btn.is-posting:disabled { opacity: 1; filter: none; cursor: progress; }
.v2 .bb-posting { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.v2 .bb-fly { position: relative; flex: none; width: 30px; height: 22px; overflow: hidden; }
.v2 .bb-fly svg { position: absolute; left: 5px; top: 2px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: bb-fly 1.6s cubic-bezier(.45, 0, .3, 1) infinite; }
@keyframes bb-fly { 0% { transform: translate(-20px, 10px) scale(.75); opacity: 0; } 20% { opacity: 1; } 55% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(24px, -12px) scale(.8); opacity: 0; } }
.v2 .bb-dots { display: inline-flex; align-items: flex-end; gap: 3px; height: 12px; }
.v2 .bb-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: bb-hop 1s ease-in-out infinite; }
.v2 .bb-dots i:nth-child(2) { animation-delay: .15s; }
.v2 .bb-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bb-hop { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .v2 .bb-fly svg, .v2 .bb-dots i { animation: none; }
  .v2 .bb-fly svg { opacity: 1; transform: none; }
  .v2 .bb-dots i { opacity: .7; }
}

/* 1.16.2: unread conversations on the Messages link */
.bb-unread { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px;
  margin-left: 6px; border-radius: 9px; background: #E5484D; color: #fff; font: 700 11px/1 Inter, sans-serif; vertical-align: 1px; }

/* ------------------------------------------------------------------ 1.16.2: the founder's card layout
   chips · posted (right, after a rule) / route + price in one framed head / the comment in its own well /
   the facts in a framed row, each with its icon / a notice box (why I can't offer yet) / who + actions */
.v2 .bb-card .bb-card__when { padding-left: 12px; border-left: 1px solid var(--line); }
.v2 .bb-card .bb-card__body { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: color-mix(in srgb, var(--card) 70%, transparent); align-items: center; }
.v2 .bb-card .bb-card__price { padding-left: 18px; border-left: 1px solid var(--line); }
.v2 .bb-card .bb-req__desc { margin: 10px 0 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 13.5px; line-height: 1.55; color: var(--muted); overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow-wrap: anywhere; word-break: break-word; }
.v2 .bb-card .bb-card__facts { margin-top: 10px; padding: 0; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.v2 .bb-card .bb-card__facts > div { padding: 12px 14px; border-left: 1px solid var(--line); margin-left: -1px; border-top: 1px solid var(--line); margin-top: -1px; }
.v2 .bb-card .bb-fact__ic { display: block; width: 18px; height: 18px; margin-bottom: 6px; color: var(--muted); }
.v2 .bb-card .bb-fact__ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.v2 .bb-req__notice { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.v2 .bb-req__notice svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; color: var(--accent-ink, var(--brand)); }
.v2 .bb-req__notice p { margin: 0; font-size: 13px; line-height: 1.45; }
.v2 .bb-card .bb-req__foot { margin-top: 14px; }
@media (max-width: 640px) {
  .v2 .bb-card .bb-card__price { padding-left: 0; border-left: 0; }
  .v2 .bb-card .bb-card__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2 .bb-card .bb-card__facts > div { border-top: 1px solid var(--line); margin-top: -1px; }
}
/* 1.16.2: several kinds can be ticked; the note says only papers and keys travel */
.v2 .bb-cats--multi .bb-seg__opt input:checked + span { box-shadow: inset 0 0 0 1px var(--brand); }
.v2 .bb-cats__note { margin: 8px 0 0; }

/* 1.16.2: payouts intro — "your data is protected" */
.v2 .bb-po__safe { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.v2 .bb-po__safe svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; color: var(--money, #047857); }
.v2 .bb-po__safe p { margin: 0; font-size: 13px; line-height: 1.5; }
.v2 .bb-offer__terms { margin: 4px 0 12px; }
.v2 .bb-offer-row__counter { margin: 6px 0 0; font-size: 13px; color: var(--accent-ink, var(--brand)); }
.v2 .bb-offer-row__old { margin: 6px 0 0; font-size: 12px; color: var(--warn, #A34E00); }
.v2 .bb-counter { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 8px; }
.v2 .bb-counter__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.v2 .bb-counter__row input { max-width: 120px; }
.v2 .bb-ask__fee { margin: 4px 0 8px 28px; max-width: 200px; }
.v2 .bb-short a { display: flex; align-items: center; gap: 10px; }
.v2 .bb-short a svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
/* 1.16.3: the avatar wears a dot when a message or a deal is waiting */
.v2 .v2-session__who { position: relative; }
.v2 .v2-session__who.has-news::after { content: ""; position: absolute; top: 0; right: 0; width: 10px; height: 10px; border-radius: 50%;
  background: #E5484D; box-shadow: 0 0 0 2px var(--hdr-solid, #000D34); }
/* 1.16.3: the payouts alert keeps its own amber dot when both are on */
.v2 .v2-session__who.has-alert.has-news::after { background: #F5A524; }
.bb-session__who { position: relative; }
.bb-session__who.has-news::after { content: ""; position: absolute; top: 0; right: 0; width: 10px; height: 10px; border-radius: 50%; background: #E5484D; }
.v2 .bb-scenario.is-editing { display: none !important; }
