/* Dispo App cabin. Isolated. Theme is not touched. Visual DNA: live /utovari/ board. */
:root {
  --navy: #161c22;
  --navy2: #1c242c;
  --card: #232c34;
  --line: rgba(255, 255, 255, .09);
  --text: #eef3f6;
  --muted: #8b98a2;
  --teal: #2a9ea8;
  --mint: #4ad4c4;
  --origin: #d7f4e8;
  --origin-ink: #0d4a38;
  --dest: #fde4e6;
  --dest-ink: #7a2230;
  --ok: #2ee59d;
  --warn: #f5c14a;
  --bad: #ff6b7a;
  --nav: 62px;
  --kb: 0px;
  --safe: env(safe-area-inset-bottom, 0px);
  --top: env(safe-area-inset-top, 0px);
  --pad: env(safe-area-inset-left, 0px);
  --padr: env(safe-area-inset-right, 0px);
  --tap: 44px;
  --font: "Manrope", -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --r: 20px;
  --shadow: 0 18px 44px rgba(0,0,0,.28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --input: #12181e;
  --sheet: #161c22;
  --navbg: #1a2228;
  --lift: none;
  --on-mint: #06211b;
  --scrim: rgba(4, 10, 16, .58);
}
body[data-bdp-theme="light"] {
  --navy: #e8f1f4;
  --navy2: #f4f8fa;
  --card: #ffffff;
  --line: #c5d6dc;
  --text: #0c2430;
  --muted: #3d5a66;
  --origin: #dff6eb;
  --origin-ink: #0b4a38;
  --dest: #fde8ea;
  --dest-ink: #7a1e2c;
  --input: #ffffff;
  --sheet: #ffffff;
  --navbg: #ffffff;
  --shadow: 0 12px 28px rgba(12,36,48,.1);
  --on-mint: #ffffff;
  --scrim: rgba(12, 36, 48, .4);
  --mint: #0c6e63;
  --teal: #0c6e63;
}
html, body.bdp-body {
  margin: 0; background: #0e1318; color: var(--text);
  font-family: var(--font); min-height: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
body.bdp-body { overflow: hidden; overscroll-behavior: none; }
body[data-bdp-theme="light"].bdp-body { background: #d5e4ea; }
button, input, a, select, textarea { font-family: inherit; touch-action: manipulation; }
button, a, .bdp-nav, .bdp-chip, .bdp-load, .bdp-msg, .bdp-phub {
  -webkit-touch-callout: none; user-select: none;
}
button, input, select, textarea { outline: none; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.bdp-root {
  height: 100dvh; height: 100svh; display: flex; flex-direction: column;
  position: relative; overflow: hidden; background: var(--navy);
}
@media (min-width: 720px) {
  .bdp-root {
    max-width: 430px; margin: 0 auto;
    box-shadow: 0 0 80px rgba(0,0,0,.45);
  }
}
html.bdp-apk .bdp-root { max-width: none; box-shadow: none; }

.bdp-boot {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; padding: 0 24px 8vh;
  background:
    radial-gradient(120% 80% at 70% -10%, #1a5a62 0%, transparent 46%),
    radial-gradient(90% 60% at 20% 110%, rgba(74,212,196,.16), transparent 50%),
    #161c22;
  transition: opacity .5s ease, visibility .5s, transform .5s;
}
.bdp-boot.is-out { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.03); }
.bdp-boot-mark {
  width: 74px; height: 74px; border-radius: 22px; margin-bottom: 14px;
  background: linear-gradient(160deg, #7af0c8, #0d8a9a);
  box-shadow: 0 22px 50px rgba(13,138,154,.38);
  animation: bdp-pulse 1.6s ease-in-out infinite;
  position: relative;
}
.bdp-boot-mark::before, .bdp-boot-mark::after {
  content: ""; position: absolute; inset: -12px; border-radius: 30px;
  border: 1px solid rgba(122, 240, 200, .4); pointer-events: none;
  animation: bdp-ring 2.2s ease-out infinite;
}
.bdp-boot-mark::after { inset: -22px; animation-delay: .45s; opacity: .55; }
.bdp-boot em { letter-spacing: .22em; text-transform: uppercase; font-size: 11px; color: var(--mint); font-style: normal; font-weight: 800; }
.bdp-boot strong { font-size: 34px; letter-spacing: -.04em; color: #fff; }
.bdp-boot-bar { width: 148px; height: 3px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.1); margin-top: 18px; }
.bdp-boot-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1ec8b0, #0d8a9a); animation: bdp-load .9s var(--ease) forwards; }
@keyframes bdp-load { to { width: 100%; } }
@keyframes bdp-pulse { 50% { transform: scale(1.04); } }
@keyframes bdp-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes bdp-ring { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.18); opacity: 0; } }

.bdp-top {
  display: flex; align-items: center; gap: 8px;
  padding: calc(10px + var(--top)) calc(14px + var(--padr)) 10px calc(14px + var(--pad));
  border-bottom: 1px solid var(--line); z-index: 30;
  background: var(--navy);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .25s var(--ease), border-color .25s;
}
body[data-bdp-theme="light"] .bdp-top {
  background:
    linear-gradient(180deg, rgba(30,200,176,.16), transparent 72%),
    rgba(244,248,250,.94);
}
.bdp-top .brand { flex: 1; min-width: 0; }
.bdp-top .brand strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.bdp-top .brand small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdp-pill {
  appearance: none; font-size: 11px; font-weight: 800; padding: 8px 11px; border-radius: 999px;
  border: 1px solid var(--line); max-width: 28vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-variant-numeric: tabular-nums; background: rgba(255,255,255,.06); color: var(--muted);
  cursor: pointer; box-shadow: var(--lift);
}
.bdp-sw {
  min-width: 42px; height: 36px; border-radius: 999px; font-size: 11px; font-weight: 800;
  border: 1px solid var(--line); background: #1c242c; color: var(--muted); cursor: pointer;
}
body[data-bdp-theme="light"] .bdp-sw { background: #fff; }
.bdp-sw.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.bdp-sw:active { transform: scale(.94); }

.bdp-nav {
  position: absolute; left: calc(10px + var(--pad)); right: calc(10px + var(--padr)); bottom: calc(8px + var(--safe));
  height: var(--nav); border-radius: 22px; z-index: 40;
  transition: transform .28s var(--ease), opacity .2s;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--navbg); backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.bdp-nav button {
  background: none; border: 0; color: var(--muted); font-size: 10px; font-weight: 750;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; min-height: 62px; cursor: pointer; position: relative;
}
.bdp-nav-ico {
  width: 42px; height: 28px; border-radius: 11px;
  display: grid; place-items: center;
  transition: background .28s var(--ease), transform .28s var(--ease), color .2s;
}
.bdp-nav button svg { width: 20px; height: 20px; }
.bdp-nav button > span:last-of-type {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 0 3px; letter-spacing: -.01em;
}
.bdp-nav button.is-on { color: var(--mint); font-weight: 800; }
.bdp-nav button.is-on .bdp-nav-ico {
  background: rgba(30,200,176,.18); transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(30,200,176,.2);
}
.bdp-nav button:active .bdp-nav-ico { transform: scale(.9); }
.bdp-nav button.is-on::before { content: none; }
.bdp-nav-dot {
  position: absolute; top: 7px; right: calc(50% - 14px); width: 7px; height: 7px;
  border-radius: 50%; background: var(--bad);
}

.bdp-main {
  flex: 1; min-height: 0; position: relative;
  overflow: auto; overscroll-behavior-y: contain;
  padding: 0 calc(12px + var(--padr)) calc(var(--nav) + var(--safe) + 16px) calc(12px + var(--pad));
  animation: bdp-rise .34s var(--ease);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.bdp-main::-webkit-scrollbar { width: 0; height: 0; }
.bdp-main.is-map { padding: 0; overflow: hidden; }

.bdp-kicker { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin: 0 0 4px; }
.bdp-h { font-size: 28px; letter-spacing: -.04em; margin: 0 0 4px; font-weight: 800; }
.bdp-h.is-sm { font-size: 22px; margin-bottom: 2px; }
.bdp-sub { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 0 0 12px; }

.bdp-card {
  background: var(--card); border-radius: var(--r); padding: 14px; margin-bottom: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.16); border: 1px solid var(--line);
}
.bdp-btn {
  border: 0; border-radius: 14px; padding: 13px 16px; font-size: 15px; font-weight: 800;
  background: var(--mint); color: var(--on-mint); cursor: pointer;
  box-shadow: none;
}
.bdp-btn:active { transform: scale(.97); filter: brightness(.96); }
.bdp-btn.ghost { background: rgba(255,255,255,.08); color: var(--text); box-shadow: var(--lift); }
body[data-bdp-theme="light"] .bdp-btn.ghost { background: #e4eef2; color: #0c2430; }
.bdp-btn.danger { background: #3a1d22; color: #ffb4b4; box-shadow: none; }
.bdp-btn.full { width: 100%; }
.bdp-btn:disabled { opacity: .45; }
a.bdp-btn { text-decoration: none; color: var(--on-mint); display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
a.bdp-btn.ghost { color: var(--text); }
.bdp-row { display: flex; gap: 8px; }
.bdp-row .bdp-btn { flex: 1; }

.bdp-input, .bdp-select, .bdp-area {
  width: 100%; box-sizing: border-box; padding: 13px 12px; border-radius: 14px;
  font-size: 16px; border: 1px solid var(--line); background: var(--input); color: var(--text);
  transition: border-color .18s, box-shadow .18s;
}
.bdp-input:focus, .bdp-select:focus, .bdp-area:focus {
  border-color: rgba(30,200,176,.55);
  box-shadow: 0 0 0 3px rgba(30,200,176,.16);
}
.bdp-area { min-height: 88px; resize: vertical; }
.bdp-lab { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 6px; font-weight: 700; }
.bdp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bdp-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }

.bdp-toast {
  position: absolute; left: 50%; bottom: calc(var(--nav) + var(--safe) + 22px); transform: translateX(-50%) translateY(12px);
  border-radius: 999px; padding: 10px 14px; font-size: 13px; font-weight: 750; z-index: 80;
  background: #fff; color: #102033; opacity: 0; pointer-events: none; transition: .2s;
  white-space: nowrap; max-width: 86vw; overflow: hidden; text-overflow: ellipsis;
}
.bdp-toast.show { opacity: 1; transform: translateX(-50%); }
body[data-bdp-theme="light"] .bdp-toast { background: #0c2430; color: #f7fbff; }

.bdp-auth {
  max-width: 420px; margin: 0 auto; padding: calc(28px + var(--top)) 20px 48px;
  animation: bdp-rise .4s var(--ease); min-height: 100%;
  background:
    radial-gradient(80% 50% at 80% -10%, rgba(30,200,176,.14), transparent 50%),
    radial-gradient(70% 40% at 10% 110%, rgba(13,138,154,.16), transparent 46%);
}
.bdp-auth-mark {
  width: 64px; height: 64px; border-radius: 20px; margin-bottom: 16px;
  background: linear-gradient(160deg, #7af0c8, #0d8a9a);
  box-shadow: 0 18px 40px rgba(13,138,154,.35);
}
.bdp-auth .bdp-h { font-size: 32px; }
.bdp-auth-card { margin: 16px 0 12px; }
.bdp-auth-card .bdp-btn { margin-top: 14px; }
.bdp-err {
  background: rgba(255,107,122,.12); color: #ffb4b4; border-radius: 14px;
  padding: 10px 12px; font-size: 13px; font-weight: 700; margin: 0 0 12px;
}
.bdp-pass { position: relative; }
.bdp-pass .bdp-input { padding-right: 52px; }
.bdp-pass-tog {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: 0; background: rgba(255,255,255,.08); color: var(--muted);
  border-radius: 10px; height: 32px; min-width: 40px; font-size: 11px; font-weight: 800; cursor: pointer;
}
.bdp-pass-tog.is-on { color: var(--mint); }
.bdp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.bdp-chip {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 999px; padding: 8px 12px; min-height: 36px; font-size: 12px; font-weight: 800; cursor: pointer;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .18s var(--ease);
}
.bdp-chip.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.bdp-chip:active { transform: scale(.96); }
.bdp-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 10px 0; }

/* Search / filters */
.bdp-search {
  display: flex; gap: 8px; margin-bottom: 10px;
}
.bdp-search input { flex: 1; }
.bdp-searchbar {
  display: none; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px;
}
.bdp-searchbar.is-open, .bdp-searchbar.is-always { display: grid; }
.bdp-search-tog {
  display: block; width: 100%; background: none; border: 0; color: var(--mint);
  font-size: 13px; font-weight: 800; text-align: center; padding: 4px 0 10px; cursor: pointer;
}
.bdp-searchbar .bdp-btn { grid-column: 1 / -1; }
.bdp-q { display: block; }
.bdp-q small {
  display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.bdp-q.is-o .bdp-input { border-color: rgba(46,229,157,.4); }
.bdp-q.is-d .bdp-input { border-color: rgba(255,107,122,.4); }
.bdp-sort { width: auto; min-width: 0; flex: 1; padding: 8px 10px; font-size: 12px; font-weight: 800; }
.bdp-ai {
  display: flex; gap: 8px; margin-bottom: 10px; align-items: stretch;
}
.bdp-ai .bdp-btn { white-space: nowrap; flex-shrink: 0; }
.bdp-filters {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px;
}
.bdp-filters.is-slim {
  grid-template-columns: 1fr 1fr auto; gap: 6px; margin: 0 0 8px;
}
.bdp-filters .bdp-fcard:last-child { grid-column: 1 / -1; }
.bdp-filters.is-slim .bdp-fpill:last-child { grid-column: auto; }
.bdp-flane {
  border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; margin-bottom: 10px;
}
.bdp-flane header { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.bdp-flane.is-o { background: rgba(215,244,232,.08); }
.bdp-flane.is-d { background: rgba(253,228,230,.08); }
.bdp-flane input[type=range] { width: 100%; }
.bdp-fcard {
  text-align: left; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 10px 12px; cursor: pointer; color: inherit;
}
.bdp-fcard small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bdp-fcard strong { display: block; font-size: 14px; margin-top: 2px; }
.bdp-fcard em { display: block; font-size: 11px; color: var(--muted); font-style: normal; }
.bdp-fcard.is-origin { border-color: rgba(46,229,157,.35); }
.bdp-fcard.is-dest { border-color: rgba(255,107,122,.35); }
.bdp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 10px; flex-wrap: wrap; }
.bdp-toolbar .bdp-seg { margin-left: auto; }
.bdp-count { font-size: 13px; font-weight: 800; }
.bdp-seg { display: flex; background: rgba(255,255,255,.06); border-radius: 999px; padding: 3px; }
body[data-bdp-theme="light"] .bdp-seg { background: #dce8ec; }
.bdp-seg button {
  border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 800;
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
}
.bdp-seg button.is-on { background: var(--teal); color: #fff; }

/* Load card — live board DNA */
.bdp-load {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 42%),
    var(--card);
  border-radius: 16px; margin-bottom: 8px;
  border: 1px solid var(--line); overflow: hidden; cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.16), var(--lift);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.bdp-load:active { transform: scale(.99); }
.bdp-load-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
  padding: 6px 10px 0; font-size: 10px; color: var(--muted); font-weight: 700;
}
.bdp-co { margin-left: auto; font-size: 11px; }
.bdp-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}
.bdp-badge.demo { background: #f5c14a; color: #3a2a00; }
.bdp-badge.live { background: var(--ok); color: #06301f; }
.bdp-badge.on { background: rgba(13,138,154,.2); color: var(--mint); }
.bdp-badge.new { background: rgba(30,200,176,.2); color: var(--mint); }
.bdp-badge.seen { background: rgba(255,255,255,.08); color: var(--muted); }
.bdp-badge.adr { background: #3a1d22; color: #ffb4b4; }
.bdp-specs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 6px 12px 2px;
}
.bdp-specs div { min-width: 0; }
.bdp-specs small { display: block; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bdp-specs b { font-size: 12px; }
.bdp-mini { padding: 7px 10px; font-size: 11px; border-radius: 10px; }
.bdp-lane {
  display: grid; grid-template-columns: 1fr 40px 1fr; gap: 4px; padding: 8px 10px 6px;
}
.bdp-lane.is-slim { padding: 4px 8px 2px; }
.bdp-end {
  border-radius: 12px; padding: 6px 8px; min-height: 0;
}
.bdp-end.origin { background: var(--origin); color: var(--origin-ink); }
.bdp-end.dest { background: var(--dest); color: var(--dest-ink); }
.bdp-end .cc {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .7;
}
.bdp-flag {
  width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.12); flex-shrink: 0;
}
.bdp-flag-img { width: 22px; height: 22px; object-fit: cover; display: block; }
.bdp-end strong { display: block; font-size: 14px; letter-spacing: -.03em; line-height: 1.15; margin: 2px 0 0; }
.bdp-end small { display: block; font-size: 10px; opacity: .75; }
.bdp-arrow {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--muted); font-size: 16px; font-weight: 800; gap: 2px;
}
.bdp-arrow small { font-size: 9px; letter-spacing: .02em; text-transform: uppercase; }
.bdp-load-foot {
  display: flex; align-items: center; gap: 5px; padding: 2px 10px 8px; flex-wrap: nowrap;
}
.bdp-tag {
  font-size: 11px; font-weight: 750; padding: 5px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: var(--muted);
}
body[data-bdp-theme="light"] .bdp-tag { background: #e8f0f3; }
.bdp-price {
  margin-left: auto; font-size: 14px; font-weight: 800; color: var(--mint); letter-spacing: -.03em;
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; white-space: nowrap;
}
.bdp-price em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }

.bdp-empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.bdp-empty strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 6px; }

/* Map */
.bdp-mapstage { position: absolute; inset: 0; }
.bdp-mapstage .leaflet-container { height: 100%; background: #06202a; }
body[data-bdp-theme="light"] .bdp-mapstage .leaflet-container { background: #d5e4ea; }
.bdp-map-hud {
  position: absolute; left: 12px; right: 12px; top: calc(10px + var(--top) + 54px);
  z-index: 20; pointer-events: none;
}
.bdp-map-hud span {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sheet); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 10px; font-size: 11px; font-weight: 800; pointer-events: auto;
}
.bdp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(46,229,157,.2); }

.bdp-divicon { background: none !important; border: none !important; }
.bdp-pin-o, .bdp-pin-d {
  display: block; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.bdp-pin-o { background: #1ec8b0; }
.bdp-pin-d { background: #ff6b7a; }
.bdp-pin-f {
  display: block; width: 16px; height: 16px; border-radius: 4px; border: 3px solid #fff;
  background: #5aa7ff; box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.bdp-lanes {
  display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; margin: 0 0 8px; padding: 1px 0 4px;
  -webkit-overflow-scrolling: touch;
}
.bdp-lanes.is-slim { margin-bottom: 6px; }
.bdp-lanechip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  max-width: 160px; padding: 7px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: inherit;
  font-size: 12px; font-weight: 750; cursor: pointer;
}
.bdp-lanechip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdp-lanechip i { color: var(--mint); font-style: normal; font-size: 9px; }
.bdp-lanechip b { color: var(--muted); font-weight: 800; padding: 0 2px; }
.bdp-lanechip.is-on { border-color: var(--teal); background: rgba(13,138,154,.18); }
.bdp-lanechip.is-watch { border-color: rgba(30,200,176,.45); }
.bdp-lanechip.is-add { min-width: 36px; justify-content: center; font-size: 16px; padding: 7px 12px; }
.bdp-qck {
  display: flex; gap: 6px; overflow-x: auto; margin: 0 0 8px; padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}
.bdp-qck .bdp-chip { flex: 0 0 auto; padding: 6px 10px; font-size: 11px; }
.bdp-filters.is-cargo { grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 8px; }
.bdp-map-layers { display: flex; gap: 6px; pointer-events: auto; }

/* Sheet */
.bdp-sheet {
  position: absolute; left: 10px; right: 10px; bottom: calc(10px + var(--safe)); top: auto; z-index: 50;
  background: var(--sheet); border-radius: 22px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 8px 14px 16px;
  border: 1px solid var(--line); max-height: min(78dvh, calc(100dvh - 24px - var(--top))); overflow: auto;
  height: auto;
  transform: translateY(110%); pointer-events: none;
  visibility: hidden;
  transition: transform .36s var(--ease), visibility .36s;
}
.bdp-sheet.open { transform: none; pointer-events: auto; visibility: visible; }
.bdp-back {
  position: absolute; inset: 0; z-index: 45; background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: opacity .36s var(--ease);
}
.bdp-back.open { opacity: 1; pointer-events: auto; }
.bdp-grab { width: 42px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.28); margin: 4px auto 12px; }
.bdp-ask {
  position: absolute; inset: 0; z-index: 86; display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; pointer-events: none; transition: opacity .22s var(--ease);
}
.bdp-ask.is-on { opacity: 1; pointer-events: auto; }
.bdp-ask-scrim { position: absolute; inset: 0; border: 0; background: var(--scrim); }
.bdp-ask-card {
  position: relative; z-index: 1; width: min(100%, 400px);
  margin: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 18px 16px 14px; box-shadow: var(--shadow);
  transform: translateY(10px); transition: transform .22s var(--ease);
}
.bdp-ask.is-on .bdp-ask-card { transform: none; }
.bdp-ask-card strong { display: block; font-size: 17px; letter-spacing: -.02em; margin-bottom: 6px; }
.bdp-ask-card p { margin: 0 0 14px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.4; }
.bdp-sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.bdp-x {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--text); font-size: 20px; cursor: pointer;
}

.bdp-metrics { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.bdp-metrics.is-quad { grid-template-columns: 1fr 1fr; }
.bdp-metric {
  background: var(--card); border-radius: 16px; padding: 12px 10px; text-align: center; border: 1px solid var(--line);
  color: inherit; font: inherit; cursor: default;
}
button.bdp-metric { cursor: pointer; }
.bdp-metric b { display: block; font-size: 20px; letter-spacing: -.03em; }
.bdp-metric span { font-size: 11px; color: var(--muted); font-weight: 700; }

.bdp-veh { display: flex; flex-wrap: wrap; gap: 6px; }
.bdp-veh button { text-transform: capitalize; }

.bdp-vrow {
  display: flex; align-items: center; gap: 10px; padding: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 8px;
}
.bdp-vrow .st {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.bdp-vrow .st.free { background: var(--ok); }
.bdp-vrow .st.driving { background: #5aa7ff; }
.bdp-vrow .st.busy { background: var(--warn); }
.bdp-vrow .st.offline { background: var(--muted); }
.bdp-vrow strong { display: block; font-size: 14px; }
.bdp-vrow small { color: var(--muted); font-size: 12px; }
.bdp-vrow .grow { flex: 1; min-width: 0; }

.bdp-msg {
  display: flex; gap: 10px; padding: 10px 12px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); margin-bottom: 6px; cursor: pointer;
  width: 100%; text-align: left; color: inherit; box-sizing: border-box; align-items: center;
}
.bdp-msg.is-unread { border-color: var(--mint); }
.bdp-msg strong { display: block; font-size: 14px; }
.bdp-msg small { color: var(--muted); }
.bdp-bubble { max-width: 78%; padding: 10px 12px; border-radius: 18px 18px 18px 6px; margin-bottom: 8px; font-size: 14px; line-height: 1.4; }
.bdp-bubble.me { margin-left: auto; background: var(--teal); color: #fff; border-radius: 18px 18px 6px 18px; }
.bdp-bubble.them { background: var(--card); border: 1px solid var(--line); }

.bdp-hint { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.bdp-confirm .bdp-load { pointer-events: none; }

.bdp-sug {
  position: absolute; left: 12px; right: 12px; z-index: 35;
  background: var(--sheet); border: 1px solid var(--line); border-radius: 14px;
  max-height: 220px; overflow: auto; box-shadow: var(--shadow);
}
.bdp-sug button {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  color: var(--text); padding: 10px 12px; font-size: 14px; font-weight: 700; cursor: pointer;
  border-bottom: 1px solid var(--line);
}
.bdp-sug button:last-child { border-bottom: 0; }
.bdp-rel { position: relative; }

.bdp-spin {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.15); border-top-color: var(--mint);
  animation: bdp-spin .7s linear infinite; margin: 16px auto;
}
@keyframes bdp-spin { to { transform: rotate(360deg); } }
.bdp-link {
  background: none; border: 0; color: var(--mint); font-weight: 800; font-size: 13px; cursor: pointer; padding: 0;
}
.bdp-switch-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bdp-switch-row span { font-weight: 700; }
.bdp-detail-map { height: 180px; border-radius: 16px; overflow: hidden; margin: 10px 0; border: 1px solid var(--line); }
.bdp-detail-map .leaflet-container { background: #06202a; }
body[data-bdp-theme="light"] .bdp-detail-map .leaflet-container { background: #d5e4ea; }
.bdp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.bdp-facts div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.bdp-facts small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.bdp-facts b { font-size: 14px; }
.bdp-id { font-variant-numeric: tabular-nums; letter-spacing: .04em; font-weight: 800; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.bdp-markets {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; margin: 0;
  padding: 3px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line);
}
body[data-bdp-theme="light"] .bdp-markets { background: #e8f0f3; }
.bdp-markets .bdp-chip { text-align: center; padding: 9px 6px; }
.bdp-truck-main {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: stretch;
  padding: 4px 8px 2px;
}
.bdp-truck.is-dense .bdp-truck-drive { padding: 2px 8px 4px; }
.bdp-truck.is-dense .bdp-ccpill { padding: 2px 6px; font-size: 11px; }
.bdp-truck-ico {
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; border-radius: 14px; background: rgba(30,200,176,.12);
}
.bdp-truck .bdp-end { min-height: 0; }
.bdp-truck-cap {
  min-width: 72px; border-radius: 16px; padding: 10px 12px;
  background: rgba(30,200,176,.12); text-align: right;
}
.bdp-truck-cap strong { display: block; font-size: 18px; color: var(--mint); letter-spacing: -.03em; }
.bdp-truck-cap small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bdp-truck-drive { padding: 4px 12px 6px; }
.bdp-truck-drive small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.bdp-ccrow { display: flex; flex-wrap: wrap; gap: 6px; }
.bdp-ccpill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.06);
  font-size: 12px;
}
.bdp-ccpill.is-any { color: var(--muted); }
.bdp-ccpill .bdp-flag { width: 16px; height: 16px; }
.bdp-ccpill .bdp-flag-img { width: 16px; height: 16px; }
.bdp-lrow {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px; margin-bottom: 8px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
  cursor: pointer; text-align: left;
}
.bdp-lrow .st { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.bdp-lrow .st.offline { background: var(--muted); }
.bdp-lrow strong { display: block; font-size: 14px; }
.bdp-lrow small { color: var(--muted); font-size: 12px; }
.bdp-lrow .grow { flex: 1; min-width: 0; }
.bdp-lrow b { color: var(--mint); font-size: 14px; }
.bdp-firm, .bdp-vcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 12px; margin-bottom: 10px;
}
.bdp-firm-top { display: flex; gap: 10px; align-items: flex-start; }
.bdp-firm-top strong { display: block; font-size: 15px; }
.bdp-firm-top small { color: var(--muted); }
.bdp-firm-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.bdp-vcard .bdp-row { margin-top: 8px; }
.bdp-vcard .bdp-id { display: block; font-size: 12px; color: var(--muted); }
.bdp-vcard .bdp-vrow { padding: 0; background: none; border: 0; margin: 0; }
.bdp-hero { display: flex; gap: 14px; align-items: center; margin: 4px 0 18px; }
.bdp-avatar {
  width: 64px; height: 64px; border-radius: 20px; flex-shrink: 0;
  background: linear-gradient(160deg, #7af0c8, #0d8a9a);
  display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #06202a;
  box-shadow: 0 12px 28px rgba(13,138,154,.28);
}
.bdp-hero .bdp-h { font-size: 26px; }
.bdp-hero .bdp-id { font-size: 14px; color: var(--mint); cursor: pointer; }
.bdp-ios {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; margin-bottom: 16px;
}
.bdp-ios > a { text-decoration: none; }
.bdp-ios > button, .bdp-ios-row, .bdp-ios > a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 14px 16px; min-height: 48px;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--text); font-size: 16px; font-weight: 650; text-align: left; cursor: pointer;
  box-sizing: border-box;
}
.bdp-ios > button:last-child, .bdp-ios-row:last-child { border-bottom: 0; }
.bdp-ios em { color: var(--muted); font-style: normal; font-.bdp-ios {
  b280%; padding.lg 10px; }
.2er1ing: 4px 8px; border-radiusnset: 0; border: 0; ba#3a4a52;ask-card {
  position: ar(--ok); flex-sze: 13px; cursor: pointer; padding: 
  b280i

.bdp-sug {
  position:  { ma2t-sizesolu2r; gap: 10p27 width: 22px;7height: 22px; border-radiusrder: 0; ba#fund: #5aa7ff; box-1ing: 2ackground: rg25lateY(10px); transition: transform .22s var(--ease
  b28p-lanechiprder: 0; ba#34c759bdp-ios {
  b28p-laneci-spin { to { transform:X(2anslat #e8f0f3w .st.gap: 8px; margin-bottom: 12pxw .sx 18pxtnd .bdp-row { mant-size: 26pbdp-p-lath-msg.is-badges { display: fdien; ); tr-templx 12px 6pxhlrow .grow {t: 220px; overfl: none;
  pad0in-bottm: 2px;
  -webkit-overflow-scrolli: 8px 0 0;mp-ser

.bdp-sug {
  cenckyight: 10px0-index: 86; displ1fr auto;ius: 18px;
  0 margin: 8p-ios {
  backgrounavyvar(--ease0;mp-ser
ios {
nputlrow .grow {x 0 18pxi}
.bdp-rel { position: re0 18pxi}ios {
nputlro flex: 1; min-w .grow {x 0 18pxi}0 18pxid);ew:lasw .grow { flex: 1; min-width: xidmn.bdp flex: 1; m { width: 42pxoverflar(--ok); flex-shrink: xiddoc}
.bdp-link {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  0adding: 12px; margin-bottom: 10pxidlogbdp-bubth: 16px; 8eight: 220px; overflng: 12px; margin-botm: 2px;
  -webkit-overflow-scrolli: 8px 0 xidlogbmuted); }
.bdpght: 800; font-si 8px 0 xida; }
.bdp-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8pnechip.-ios > a {
  display: flex; align-items: center; justify-content: space-betw8n; gap: 12px;
  wid-card p { marex; gap: 10px; padding: 10px 12px; border8px 14px 16px;
  border: 1px solid var(--line); background: var(--card); color: inheri2px; font-weight: 800; font-size: 13px; cursor: pointer; text-ali pointer;
  box-sizing: border-bonechip-lanechip.is-on { border-color: rgba(30,200, { border-color: var(--mintnechip-laloc}
.: inherit; cursore: normal; font-.bd-ios em { color: var(ze: 14px; line-35si 8px 0 xidcenck-truckrder: 0; m: none;
  padd0adding: bdp-link {
  backgrounavbg) 14px 16px;
  border: 1px solid va: pointer;); border-radius6px 14px; box-shadow: var(--s: 22px;
  backdrop-filter: none;
  -webkit-backdrop-filt 8px 0 xidorbp-vrow .st {
  width: 10px; height: 10px; border-radgap: 6px; margi -radius: 14px;
  bax; balnd: linearcirc
.bat 30% 30%,a#funent(160dem {%g, #7af0c8, #0 #5aa7ff; box-rgin: der-color: rgba(3075var(--mint);
  animapulsene-8 }
2s {
n-outl7s lineart 8px 0 xidkets-map-layers { display: flex; gap: 6px; overflowght: 800; p0in-botm: 2px;
  -webkit-overflow-scrolli: 8px 0 xidkets-mp-markets .bdp-chip { flex:  8px 0 notedp-filters.iht: 10pzesolu3 border: 1px soor: var(--mintnotedp-fdp-/
.biht: 10pzesolu3 border: ckground: #5aa7fnotedp-f; }

iht: 10pzesolu3 border: 1px sond: var(--warnild, .bp-firm-to: normal; font-.bdp-ios {bell-n

.bdp-sug {
  position:  { ma2t-sift: 12p2g: 14px lag-img { width: 16px; hei: pointer;); borde-radius: 999px; ba1px soba var(--card#fund:: normal; font-: inheri2px; font-weid8a9a);
  display: grid; place-itemsght: 800; p3bottom: 10psw}
.bdp-rel { position: re0 18pnote

.bdp-msg {
  display: flex; gointer;
  width: 100%; text-align: left; colorbdp-link {
  background: var(--card); border: 1px solid var(--line); border4radius: 18px;
  padding: 12px; margi8t-size: 13px; cursor
 #5aa7fnotedp-f-msg.isk.is-on {.62: re0 18pnote
.bdp-lrow strong { display: block; font-size: 14pnote
.firm-top small { color: var(--mutedirm, .bdp-vcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
 4ing: 2a 0adding: 12px; margin-bot: #5aa7ff; box-10add2: 2ackground: rg,200,176,.12); }
.bdp-vcard .b-line);
  background: trand: none; border: 0; margin: va; }
.b-markets {
  display: grid; grid-template-columns: 1fr 1fr -radius: 16px;x-shadon-bottom: 8px0; }
.bdp-facts div { background: rgba(255,5var(--line); border2radius: 16px;rgin: 0-line);
}
body[data-bdp-theme="ligx0; }
.bdp-facts div { ba#eef4f6 margin: va; }
.uck-drive small { display: block; font-size: 10px; font-weight: 800; letter-s6acing: .08em; text-transform: uppercase; color: var(argin: va; }
.bdp-facts b { font-si 8px 0 x; }
.bdp-vcard .us: 16px;x-shadsize: 14px;ow .st: inherit;
  font-siorder: 0; color: var(--mint); font-wei-card p { marex; gze: 13px; cursor
 #5aa7fx;
}
.bdp-io-spin { -rel { cts div {  .18nsform .22s vaion: none; }
.bdp-io:; }p-trucx 12px;
  background: rgba(300138,154,.18bdp-pos {
n}
.*ruc-mint);
  acoration: nonbdp-p-lamappos {
n}
.*ruc-mint);
  acoration: nonbdp-pos {
n}
.dth: 0irm .b-mint);
  acoration: nonbdp-pos {
n}
.dth: cenck-tb-mint);
  acoration: nonbo }
hmsg.is-badges { displap: 10px; align-itendms: center; justify-content: space-betwe0adding: 12px; margi18px 6px 18pxo }
hmsgp-lat); f-tb-p: 14px; align-items: centpx; margi48px 6px 18pxo }
hmsgp-lat); f-="light"] .bdp--bubble { mcoratiw .grow {x 0 18pbo }
hmsg.="light"] .bdp-w .grow { bubble { m58% border: 0; margin: f }
.bdp-ccpill {
  display: fdien; ); tr-templx ap: 10px; align-items: fl-betweradius4px 16px; minex; gap: 10px;6padding: 4px 8px; bordeont-si pointer; text-ali poi16px;
  border: 1px solid var(--line); background: var(--card); colorgze: 13px; cursor
 #5aa7ff }
.b-firm-to: normal; font-sze: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var( #5aa7ff }
.bbdp-facts b { font-size: 22px; font-weip: 6px;
  ma  widip span { overflow: hidden; text-overflow: ellipsis; white-space: nowraf
}
.bdp-ochip.is-on { border-color: rgba(3035)ce: nowraf
}
.bdp-g.is-unread { bordckground:107,1223032var(--mintnechip-la-lanesius: 20px;
 7 2a 0adding: 120; p0in-botfacts b { font-si 4px 8px; bordeont-s
 #5aa7fdoc}
.bdpp-sug {
  position: absolu8t-sift: 12p8t-siht: 12px; 8li poi: 10px; botckgrounav) calc(10px + v ca8m: calc(10pkb)r(--shadow-rel { ci: 10 transform .22s v,ransition:18nsform .22s vabdpp-(110%); pointer-even #5aa7fdoc}
px 0 xidcenck-tpacity: 1; pointer-events-lin: 26pxasdoc}
px 0 bdp-tr: 0 0 8px; paddin; botckgrounav) calc(10px + v ca132nslat #-lin: 26pxasdoc}px 0 xilogbmutedbdp-tr: 0 0 8px; paddin; botckgrounav) calc(10px + v ca22anslat #-lin: 26pkbbmutednav-spin { to { transform:Y(12nslatng: 16px; opacity: 0; pointer-even #-lin: 26pkbbmuteddoc}
.poi: 10px; bot6m: calc(10px + v calc(10pkb)r(: 8px 0 xidk}
.bdp-c flex: 1; m 0g: 14px 16px; min-radius: 14px;weight: 800; font-size: 14px; linear(--lin: 26pkbpx 0 xidon
px 0 xidkets-,--lin: 26pkbpx 0 xidon
px 0 xidorb,--lin: 26pkbpx 0 xidon
px 0 xiddoc}
.pcpill {
 ransform: noneiask-card p {wrap: wrap; gap: 6pxi}ios {
nputlrous: 16px; padding: 10px 12px; forap; gap: 6pxi}ios {xtnd .us: 16px; paddi4g: 10px 12px; fo4g: 14px 16px; min-heiize: 22px; border-radi 8px 0 xidorbp-gointer;8 width: 16px8adding: 120; p0i6ing: 4p: 8px 0 xidkets-m{wght: 800; p0irap; -overfbarbble { mcorati 8px 0 xidkets-::m: 2px;
-overfbar
.pcpill {
 ransform: noneidmn.p-lane,
px 0 xidcenckp-lalisust px 0 xidorbp- #0 #5aa7ff; box-rg0g: 2ackground:107,12230,138,(--mint);
  animapulsen bdp
2s {
n-outl7s lineart 8px 0 xidlogbdp-bubth: 16px;shadsize: 14ps}
.bdp-asnset: 0; border: 0; baransfow small { color: var(--muted); fo-radius: 16px;x-4x; gze: 13px; cursor
 #5aa7fs}
.p-lanechiw small { colnd: var(--warnfgrp,
px 0 psecbdp-asnset: 0; border: 1px solid var(--line); border-radi: none;
  padd0adding: i-card p { marex; 10px 12px;
  background: rgba(255,300,176,.12fgrp}
.hmsger,
px 0 psecb
.hmsgerst: inherit;
  font-size: 11px; font-weight: 800; letter-1acing: .08em; text-transform: r(--line);
  color: varng: 120; p0in-bo,176,.12fa; ); s

.bdp-sug {
  cenckyight: 10px0-iht: 12px; ;ius: 18px;
  0 margin: 8bdp-row { marginindex: 35;
  background: var #0 #5aa7ff; box--shadow0 mackground: var  #5aa7fs */
.6,.12f); }st.gap: 8px; margin-bottom: 12pxsgddodp-vrow .st {8 width: 16px8addiht: 10px; border-radius: 50%; background: traius: 50%; flex-shrink: r;
}
.bdp-msg.: 12pxsgddodp-.offline { backgrounr: var(--mint0;mp-ser

ght: 10pxlc(10pkb)n: 0 0 8px; paddin; bot8m: calc(10px + vvar(--warnfill .bdp-flag 8 width: 16pxin: 4px 0 18ppill .bdp-flag-img 8 width: 16pxin: 4px 0 18psearchw {gbdp-ccpill { pad0in-botfacts b { font-six 0 18psubst.gap: 8px; margirgin: 0 0 8px;"] .b}
.b4 s.is-quad { grid-templaterepeat(4,s: 1)ei-card p { marex; g 0 0 8px;"] .b}
.b4 p-markets .b: none;
  pad2px; font-size: 11px; }
.bdp-psec .bdp-ios { margin: 0; border: 0; background: transparent; border-radius: 0; }
.bdp-psec .bdp-ios > button, .bdp-psec .bdp-ios-row, .bdp-psec .bdp-ios > a { padding: 12px 4px; }
.bdp-hero { margin: 0 0 12px; }
.bdp-hero .bdp-h.is-sm { font-size: 22px; }
.bdp-load.is-dense { margin-bottom: 6px; border-radius: 12px; }
.bdp-load.is-dense .bdp-load-meta { padding: 4px 8px 0; }
.bdp-load.is-dense .bdp-co { max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdp-load.is-dense .bdp-end { padding: 4px 6px; border-radius: 10px; }
.bdp-load.is-dense .bdp-end strong { font-size: 13px; }
.bdp-load.is-dense .bdp-load-foot { padding: 2px 8px 6px; }
.bdp-load.is-dense .bdp-tag { padding: 3px 6px; font-size: 10px; }
.bdp-boardhead .bdp-h.is-sm { font-size: 20px; margin: 0; }
.bdp-post-hub { display: grid; gap: 8px; margin: 10px 0 14px; }
.bdp-phub {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center;
  text-align: left; width: 100%; padding: 12px 12px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: inherit; cursor: pointer;
}
.bdp-phub strong { display: block; font-size: 15px; }
.bdp-phub small { display: block; grid-column: 1; color: var(--muted); font-size: 12px; line-height: 1.35; }
.bdp-phub em { font-style: normal; color: var(--mint); font-weight: 800; }
.bdp-phub.is-side { opacity: .92; }
.bdp-steps { display: flex; gap: 6px; margin: 0 0 10px; }
.bdp-steps i {
  flex: 1; height: 4px; border-radius: 99px; background: var(--line);
}
.bdp-steps i.is-on { background: var(--mint); }
.bdp-steps i.is-done { background: rgba(30,200,176,.45); }
.bdp-livebar {
  font-size: 12px; font-weight: 700; margin: 0 0 10px; padding: 8px 10px;
  border-radius: 12px; background: rgba(30,200,176,.08); color: var(--mint);
}
.bdp-post-map { height: 132px; border-radius: 14px; overflow: hidden; margin: 8px 0 4px; border: 1px solid var(--line); }
.bdp-ch {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 10px; margin: 0 0 6px; border-radius: 14px; border: 1px solid var(--line);
  background: transparent; color: inherit; cursor: pointer;
}
.bdp-ch.is-on { border-color: var(--mint); background: rgba(30,200,176,.08); }
.bdp-ch small { color: var(--muted); }
.bdp-post-foot {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin: 16px 0 8px;
  position: static; z-index: 6; padding: 4px 0 12px;
}
.bdp-draft { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin: 0 0 10px; }
.bdp-checkrow { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 13px; font-weight: 700; }
.bdp-hero { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin: 0 0 12px; }
.bdp-avatar {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, #1ec8b0, #0d8a9a); color: #06202a; font-weight: 800; font-size: 16px;
}
.bdp-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.bdp-pills .bdp-pill {
  font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 4px 8px; border-radius: 99px;
  border: 1px solid var(--line); color: var(--muted); max-width: none; min-height: 0;
  background: transparent; box-shadow: none; cursor: default;
}
.bdp-pills .bdp-pill.is-ok { color: var(--mint); border-color: rgba(30,200,176,.35); }
.bdp-top .bdp-pill { min-height: 36px; }
.bdp-sys { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; }
.bdp-sys a, .bdp-sys button {
  text-align: left; padding: 10px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03); color: inherit; cursor: pointer;
}
.bdp-sys small { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bdp-sys strong { font-size: 14px; }
.bdp-ops { display: grid; gap: 6px; margin: 0 0 12px; }
.bdp-ops button, .bdp-ops a {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; text-align: left; padding: 10px 12px;
  border-radius: 14px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer;
}
.bdp-ops small { grid-column: 1; color: var(--muted); }
.bdp-calc { display: grid; gap: 10px; }
.bdp-calc article { border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.bdp-calc h3 { margin: 0 0 8px; font-size: 14px; }
.bdp-calc-out { margin: 8px 0 0; font-weight: 800; color: var(--mint); }

.bdp-stick {
  position: sticky; top: 0; z-index: 14;
  margin: 0 0 6px;
  padding: 8px 0 6px;
  background: var(--navy);
  box-shadow: 0 8px 14px var(--navy);
}
.bdp-fpill { min-height: var(--tap); }
.bdp-markets .bdp-chip { min-height: 32px; padding: 5px 4px; font-size: 11px; }
.bdp-empty {
  background: var(--card); border: 1px dashed var(--line); border-radius: 20px;
  padding: 28px 16px 24px; margin-top: 6px;
}
.bdp-empty::before {
  content: ""; display: block; width: 42px; height: 42px; margin: 0 auto 12px;
  border-radius: 14px; background: rgba(30,200,176,.12);
  box-shadow: inset 0 0 0 2px rgba(30,200,176,.28);
}
.bdp-skels { display: grid; gap: 8px; margin: 4px 0 12px; }
.bdp-skel {
  height: 86px; border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.1) 46%, rgba(255,255,255,.04) 100%);
  background-size: 180% 100%; animation: bdp-shimmer 1.2s ease-in-out infinite;
}
@keyframes bdp-shimmer { 50% { background-position: 100% 0; } }
.bdp-main.is-pull { padding-top: 28px; }
.bdp-main.is-pull::before {
  content: ""; position: absolute; left: 50%; top: 8px; width: 22px; height: 22px; margin-left: -11px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.16); border-top-color: var(--mint);
  animation: bdp-spin .7s linear infinite;
}
.bdp-dock { left: calc(8px + var(--pad)); right: calc(8px + var(--padr)); }
body.bdp-hasdock .bdp-toast { bottom: calc(var(--nav) + var(--safe) + 128px); }
body.bdp-kb .bdp-toast { bottom: calc(16px + var(--safe) + var(--kb)); }
body.bdp-hasdock .bdp-post-foot,
body.bdp-hasdock.bdp-ailog .bdp-post-foot {
  bottom: auto; margin-bottom: 8px;
}
.bdp-main.is-post { padding-bottom: calc(var(--nav) + var(--safe) + 108px); }
.bdp-sheet { padding-left: calc(14px + var(--pad)); padding-right: calc(14px + var(--padr)); }
.bdp-load, .bdp-msg, .bdp-vcard, .bdp-firm, .bdp-phub { -webkit-tap-highlight-color: transparent; }
.bdp-qck, .bdp-lanes, .bdp-ai-chips { scrollbar-width: none; }
.bdp-qck::-webkit-scrollbar, .bdp-lanes::-webkit-scrollbar { display: none; }
@media (max-width: 380px) {
  .bdp-nav button { font-size: 9px; }
  .bdp-h { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .bdp-boot-mark, .bdp-boot-bar i, .bdp-main.bdp-in > *, .bdp-main, .bdp-skel { animation: none !important; }
  .bdp-sheet, .bdp-back, .bdp-chip, .bdp-nav-ico, .bdp-ios-sw i { transition: none !important; }
}

.bdp-sheet {
  z-index: 56;
  box-shadow: var(--shadow);
}
.bdp-back { z-index: 52; background: var(--scrim); backdrop-filter: none; -webkit-backdrop-filter: none; }
body:has(.bdp-sheet.open) .bdp-dock,
body:has(.bdp-sheet.open) .bdp-nav {
  opacity: 0; pointer-events: none; transform: translateY(12px);
}
.bdp-sheet.open { transform: none; }
.bdp-grab { width: 36px; height: 5px; background: rgba(255,255,255,.28); }
.bdp-x {
  width: 40px; height: 40px; border-radius: 14px;
  background: rgba(255,255,255,.08); font-size: 22px; line-height: 1;
  box-shadow: var(--lift);
}

/* Filter lane cards */
.bdp-fpane {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 8px;
}
.bdp-fpane.is-lane {
  grid-template-columns: 1fr 18px 1fr; align-items: stretch; margin-bottom: 6px;
}
.bdp-farrow {
  display: grid; place-items: center; color: var(--mint); font-weight: 800; font-size: 14px;
}
.bdp-fpill.is-empty b { color: var(--muted); font-weight: 650; }
.bdp-fpill {
  min-height: 58px; padding: 10px 12px; border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.14), var(--lift);
}
.bdp-fpill.is-o {
  background: var(--origin); color: var(--origin-ink); border-color: transparent;
}
.bdp-fpill.is-o small { color: var(--origin-ink); opacity: .62; }
.bdp-fpill.is-d {
  background: var(--dest); color: var(--dest-ink); border-color: transparent;
}
.bdp-fpill.is-d small { color: var(--dest-ink); opacity: .62; }
.bdp-fpill.is-date { border-color: rgba(30,200,176,.4); }
.bdp-fpill.is-more { background: linear-gradient(180deg, rgba(13,138,154,.18), var(--card)); }
.bdp-fpill b { font-size: 13px; letter-spacing: -.02em; }
.bdp-act { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.bdp-act .bdp-chip {
  background: rgba(30,200,176,.12); border-color: rgba(30,200,176,.32); color: var(--mint);
  padding: 6px 10px; min-height: 32px; font-size: 11px;
}
.bdp-act .bdp-chip i { font-style: normal; opacity: .7; margin-left: 4px; }

/* Filter sheet life */
.bdp-ftabs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 4px;
  padding: 4px; margin: 0 0 12px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
}
.bdp-ftabs button {
  border: 0; background: none; color: var(--muted); font-weight: 800; font-size: 12px;
  padding: 10px 6px; border-radius: 12px; cursor: pointer; min-height: 42px;
}
.bdp-ftabs button.is-on { background: var(--mint); color: var(--on-mint); box-shadow: none; }
.bdp-flane.is-o { background: linear-gradient(180deg, rgba(215,244,232,.22), rgba(215,244,232,.06)); border-color: rgba(30,200,176,.28); }
.bdp-flane.is-d { background: linear-gradient(180deg, rgba(253,228,230,.28), rgba(253,228,230,.06)); border-color: rgba(255,107,122,.28); }
.bdp-fgrp { box-shadow: var(--lift); }
.bdp-rad {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px;
}
.bdp-rad button { min-height: 36px; padding: 6px 4px; font-size: 11px; }

/* Custom calendar */
.bdp-cal { margin: 8px 0 12px; }
.bdp-sheet .bdp-cal { margin-bottom: 12px; }
.bdp-cal-h {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px;
}
.bdp-cal-h strong { font-size: 14px; text-transform: capitalize; }
.bdp-cal-h button {
  width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.06); color: var(--text); font-size: 18px; cursor: pointer;
}
.bdp-cal-w, .bdp-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bdp-cal-w span {
  text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); padding: 4px 0;
}
.bdp-cal-g i { min-height: 36px; }
.bdp-cal-d {
  min-height: 38px; border: 0; border-radius: 12px; background: rgba(255,255,255,.05);
  color: var(--text); font-weight: 750; font-size: 13px; cursor: pointer;
}
.bdp-cal-d.is-today { box-shadow: inset 0 0 0 1.5px var(--mint); }
.bdp-cal-d.is-on {
  background: linear-gradient(180deg, #14a3b4, var(--teal)); color: #fff;
  box-shadow: 0 6px 14px rgba(13,138,154,.32);
}

/* Detail popup */
.bdp-dhero { display: grid; grid-template-columns: 1fr 36px 1fr; gap: 6px; margin: 4px 0 10px; }
.bdp-dhero .bdp-end { padding: 10px; border-radius: 16px; box-shadow: var(--lift); }
.bdp-dhero .bdp-arrow small { font-size: 10px; font-weight: 800; color: var(--mint); }
.bdp-detail-map {
  height: 196px; border-radius: 18px; margin: 0 0 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.22); border: 0;
}
.bdp-facts div {
  border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--lift);
}
.bdp-facts small { letter-spacing: .08em; text-transform: uppercase; }
.bdp-facts { padding-bottom: 8px; }
.bdp-dact {
  position: sticky; bottom: -4px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 12px 0 4px; margin-top: 8px;
  background: var(--sheet);
  box-shadow: 0 -16px 24px var(--sheet);
}
.bdp-dact .bdp-btn.full { grid-column: 1 / -1; }

/* AI dock — closable, labeled */
.bdp-ai-head {
  display: flex; align-items: center; gap: 8px; margin: 0 0 8px;
}
.bdp-ai-head strong { font-size: 13px; letter-spacing: -.02em; }
.bdp-ai-head small { color: var(--muted); font-size: 11px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdp-ai-head .bdp-x { width: 32px; height: 32px; font-size: 18px; border-radius: 10px; display: grid; place-items: center; }
.bdp-ai-mark {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #7af0c8 42%, #0d8a9a);
  box-shadow: 0 0 14px rgba(30,200,176,.7);
}
.bdp-ai-help {
  background: linear-gradient(180deg, rgba(30,200,176,.14), rgba(13,138,154,.08));
  border: 1px solid rgba(30,200,176,.28); border-radius: 16px; padding: 10px 12px; margin: 0 0 8px;
}
.bdp-ai-help p { margin: 0 0 6px; font-size: 12px; line-height: 1.4; color: var(--text); }
.bdp-ai-help p:last-of-type { margin: 0; }
.bdp-ai-help b { color: var(--mint); }
.bdp-ai-orb { display: none; }
.bdp-ai-dock { padding: 8px; margin-bottom: 8px; border-radius: 16px; }
.bdp-ai-log { max-height: 96px; margin: 0; }
.bdp-ai-chips .bdp-chip { background: rgba(255,255,255,.06); }

/* Lista / inbox / nalog lift */
.bdp-firm {
  border-radius: 20px; padding: 14px; box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.bdp-firm-av {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; color: #06202a;
  background: linear-gradient(160deg, #7af0c8, #0d8a9a);
}
.bdp-msg {
  padding: 12px; border-radius: 18px; gap: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,.1);
}
.bdp-msg-av {
  width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
  background: rgba(30,200,176,.16); color: var(--mint);
}
.bdp-msg time { font-size: 10px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.bdp-th-h {
  display: flex; align-items: center; gap: 10px; margin: 0 0 8px;
}
.bdp-note { border-radius: 16px; box-shadow: 0 8px 16px rgba(0,0,0,.1); }
.bdp-metric {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(30,200,176,.12), var(--card));
  box-shadow: var(--lift);
}
.bdp-load {
  border-radius: 16px; box-shadow: 0 10px 22px rgba(0,0,0,.14);
}
.bdp-load.is-dense { border-radius: 16px; }
.bdp-lrow { border-radius: 18px; padding: 14px; box-shadow: 0 8px 18px rgba(0,0,0,.1); }
.bdp-hero { padding: 4px 2px 8px; }
.bdp-avatar { box-shadow: 0 14px 32px rgba(13,138,154,.32); }

body.bdp-hasdock.bdp-ailog .bdp-main { padding-bottom: calc(var(--nav) + var(--safe) + 280px); }

.bdp-seek {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 42px;
  gap: 6px;
  align-items: stretch;
  margin: 0 0 8px;
}
.bdp-seek .bdp-end {
  border: 0; width: 100%; text-align: left; cursor: pointer;
  min-height: 48px; padding: 6px 10px; border-radius: 16px;
  box-shadow: var(--lift);
  display: flex; flex-direction: column; justify-content: center; gap: 1px;
}
.bdp-seek .bdp-end small {
  font-size: 10px; font-weight: 750; letter-spacing: .04em; color: var(--muted); text-transform: uppercase;
}
.bdp-seek .bdp-end.is-empty strong { opacity: .55; font-weight: 650; }
.bdp-seek .bdp-arrow { min-width: 0; }
.bdp-seek-gear {
  position: relative; border: 1px solid var(--line); border-radius: 16px;
  background: var(--card); color: var(--text); cursor: pointer;
  font-size: 16px; min-height: 48px;
}
.bdp-seek-gear i {
  position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px;
  border-radius: 99px; background: var(--mint); color: #06202a;
  font-size: 9px; font-weight: 800; font-style: normal;
  display: grid; place-items: center; padding: 0 3px;
}
.bdp-seek-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.bdp-seek-meta .bdp-mini {
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  cursor: pointer; font-weight: 750;
}
.bdp-seek-meta .bdp-mini.is-on { border-color: rgba(30,200,176,.45); color: var(--mint); }

.bdp-dact {
  position: sticky; bottom: -4px; display: flex; flex-direction: column; gap: 8px;
  padding: 12px 0 4px; margin-top: 8px;
  background: var(--sheet);
  box-shadow: 0 -16px 24px var(--sheet);
}
.bdp-dact-call { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bdp-dact-tools {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px;
  padding: 2px 0 4px;
}
.bdp-dact-tools button {
  border: 0; background: none; color: var(--muted); font-weight: 750;
  font-size: 12px; padding: 8px 4px; cursor: pointer;
}

.bdp-ai-stick.is-mini { padding: 8px; }
.bdp-ai-q {
  width: 42px; min-height: 48px; border-radius: 14px; flex-shrink: 0;
  border: 1px solid var(--line); background: var(--card); color: var(--mint);
  font-weight: 800; font-size: 16px; cursor: pointer;
}
.bdp-ai-q.is-on { background: rgba(30,200,176,.18); border-color: var(--mint); }
.bdp-ai-how {
  margin: 0 0 8px; padding: 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(30,200,176,.14), rgba(13,138,154,.06));
  border: 1px solid rgba(30,200,176,.28);
}
.bdp-ai-how-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
.bdp-ai-log { max-height: 160px; overflow: auto; padding: 8px 8px 4px; margin: 0 0 8px; border-radius: 14px; background: rgba(0,0,0,.18); }
.bdp-ai-log .bdp-ai-how-h { position: sticky; top: 0; background: inherit; z-index: 1; }
.bdp-ai-log .bdp-x, .bdp-ai-how .bdp-x {
  width: 36px; height: 36px; border: 0; border-radius: 12px; background: var(--card);
  color: inherit; font-size: 20px; cursor: pointer;
}
.bdp-ai-act {
  display: block; width: 100%; text-align: left; margin: 0 0 6px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  color: inherit; cursor: pointer;
}
.bdp-ai-act:last-child { margin: 0; }
.bdp-ai-act strong { display: block; font-size: 14px; }
.bdp-ai-act small { color: var(--muted); font-size: 12px; }
body.bdp-hasdock .bdp-main { padding-bottom: calc(var(--nav) + var(--safe) + 96px); }

.bdp-lseg {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 4px; margin: 0 0 8px; border-radius: 16px;
  background: rgba(255,255,255,.06);
}
body[data-bdp-theme="light"] .bdp-lseg { background: #e8f0f3; }
.bdp-lseg button {
  border: 0; background: transparent; color: var(--muted);
  min-height: 36px; border-radius: 12px; font-weight: 750; font-size: 12px; cursor: pointer;
}
.bdp-lseg button.is-on {
  background: var(--card); color: var(--text); box-shadow: var(--lift);
}
.bdp-dir {
  display: flex; align-items: center; gap: 12px; width: 100%;
  text-align: left; color: inherit; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 12px; margin: 0 0 8px; box-shadow: 0 8px 18px rgba(0,0,0,.1);
}
.bdp-dir .grow { min-width: 0; flex: 1; }
.bdp-dir strong { display: block; font-size: 15px; }
.bdp-dir small { color: var(--muted); }
.bdp-dir em { color: var(--muted); font-style: normal; font-size: 18px; }
.bdp-dir b { color: var(--mint); font-size: 13px; }

.bdp-hero.is-tight { margin: 0 0 10px; gap: 10px; }
.bdp-hero.is-tight .bdp-h { font-size: 20px; margin: 0; }
.bdp-detail-map.is-board { height: min(52vh, 420px); margin-bottom: 0; }
.bdp-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.bdp-toolbar .bdp-mini {
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  cursor: pointer; font-weight: 750; min-height: 36px;
}
.bdp-lseg.is-steps { margin: 0 0 10px; }
body[data-bdp-theme="light"] .bdp-input,
body[data-bdp-theme="light"] .bdp-select {
  border-color: #9bb0b8; background: #fff;
}
body[data-bdp-theme="light"] .bdp-sheet { box-shadow: 0 -18px 40px rgba(12,36,48,.16); }
body[data-bdp-theme="light"] .bdp-grab { background: rgba(12,36,48,.18); }
body[data-bdp-theme="light"] .bdp-fgrp,
body[data-bdp-theme="light"] .bdp-psec { background: #f4f8fa; border-color: #c5d6dc; }
.bdp-phub {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center;
  width: 100%; text-align: left; margin: 0 0 8px; padding: 16px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--card);
  color: inherit; cursor: pointer; box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.bdp-phub strong { font-size: 16px; }
.bdp-phub small { grid-column: 1; color: var(--muted); }
.bdp-phub em { grid-row: 1 / span 2; color: var(--muted); font-style: normal; }
.bdp-phub.is-side { opacity: .92; }

body:has(.bdp-sheet.open) .bdp-dock,
body:has(.bdp-sheet.open) .bdp-nav { opacity: 0; pointer-events: none; }
.bdp-sheet-sec {
  margin: 0 0 12px; padding: 12px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--card);
}
.bdp-sheet-sec .bdp-kicker { margin-bottom: 8px; }
.bdp-idchip {
  flex: 0 0 auto; font-size: 10px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--navy);
  background: var(--mint); border-radius: 999px; padding: 5px 8px;
}

/* Phone cabin: one row, denser, APK safe-area */
@media (max-width: 480px) {
  .bdp-toolbar {
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0 0 8px;
  }
  .bdp-toolbar .bdp-count {
    font-size: 11px;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .bdp-toolbar .bdp-sort {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 42%;
    padding: 6px 8px;
    font-size: 11px;
  }
  .bdp-toolbar .bdp-seg { flex: 0 0 auto; margin-left: 0; }
  .bdp-toolbar .bdp-seg button { padding: 6px 8px; font-size: 11px; }
  .bdp-toolbar .bdp-mini { min-height: 32px; padding: 6px 8px; flex: 0 0 auto; }
  .bdp-seek .bdp-end { min-height: 44px; padding: 7px 8px; border-radius: 14px; }
  .bdp-seek-gear { min-height: 44px; border-radius: 14px; }
  .bdp-top .brand strong { font-size: 15px; }
  .bdp-pill { padding: 7px 9px; }
  .bdp-load.is-dense .bdp-end strong { font-size: 13px; }
  .bdp-ai .bdp-btn { min-height: 44px; padding: 10px 12px; }
  .bdp-ai-q { min-height: 44px; width: 40px; }
  .bdp-ai .bdp-input { padding: 11px 10px; }
}
html.bdp-apk,
html.bdp-apk body.bdp-body {
  height: 100%;
  background: #06202a;
}
html.bdp-apk .bdp-root {
  height: 100%;
  max-width: none;
  box-shadow: none;
  border-radius: 0;
}
html.bdp-apk .bdp-top {
  padding-top: calc(10px + var(--top));
}
html.bdp-apk .bdp-nav {
  left: calc(8px + var(--pad));
  right: calc(8px + var(--padr));
  bottom: calc(6px + var(--safe));
}
html.bdp-apk .bdp-dock {
  left: calc(8px + var(--pad));
  right: calc(8px + var(--padr));
}
html.bdp-apk .bdp-stick {
  background: var(--navy);
}
html.bdp-apk .bdp-main {
  padding-left: calc(10px + var(--pad));
  padding-right: calc(10px + var(--padr));
}

body.bdp-body {
  background:
    radial-gradient(120% 70% at 80% -10%, rgba(30,200,176,.22), transparent 42%),
    radial-gradient(80% 50% at 10% 110%, rgba(13,138,154,.18), transparent 46%),
    #031018;
}
body[data-bdp-theme="light"].bdp-body {
  background:
    radial-gradient(120% 70% at 80% -10%, rgba(30,200,176,.18), transparent 42%),
    #d5e4ea;
}
.bdp-root {
  background:
    radial-gradient(90% 40% at 100% 0%, rgba(30,200,176,.12), transparent 50%),
    var(--navy);
}
.bdp-sheet.open.is-out {
  transform: translateY(110%);
  pointer-events: none;
  visibility: visible;
}
.bdp-back { transition: opacity .36s var(--ease); }
.bdp-back.open.is-out { opacity: 0; pointer-events: none; }
.bdp-bubble {
  white-space: pre-wrap;
  border-radius: 18px 18px 18px 6px;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.bdp-bubble.me {
  border-radius: 18px 18px 6px 18px;
  background: linear-gradient(160deg, #1ec8b0, #0d8a9a);
}
.bdp-ai-log {
  max-height: 42vh;
  background: linear-gradient(180deg, rgba(8,28,36,.72), rgba(6,24,32,.5));
}
body[data-bdp-theme="light"] .bdp-ai-log { background: rgba(255,255,255,.72); }
.bdp-ai-ask { display: flex; gap: 6px; margin-top: 8px; }
.bdp-ai-ask .bdp-btn { min-height: 36px; padding: 8px 12px; font-size: 12px; }
.bdp-ai-field { position: relative; flex: 1; min-width: 0; }
.bdp-ai-field .bdp-input { width: 100%; padding-right: 40px; box-sizing: border-box; }
.bdp-ai-stop {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: var(--bad); color: #fff; font-size: 18px; cursor: pointer;
}
.bdp-ai { display: flex; gap: 6px; align-items: stretch; }
.bdp-morehint {
  position: absolute; left: 50%; bottom: calc(var(--nav) + var(--safe) + 78px);
  transform: translateX(-50%); z-index: 28;
  margin: 0; padding: 6px 12px; border-radius: 999px;
  background: rgba(8,28,36,.82); color: var(--mint); font-size: 11px; font-weight: 750;
  pointer-events: none;
}
body.bdp-hasdock .bdp-morehint { bottom: calc(var(--nav) + var(--safe) + 108px); }
.bdp-tabload {
  position: sticky; top: 12px; z-index: 8;
  margin: 0 auto 10px; padding: 10px 16px; width: fit-content;
  border-radius: 999px; background: rgba(8,28,36,.88); color: var(--mint);
  font-size: 13px; box-shadow: var(--shadow);
  animation: bdp-rise .35s var(--ease);
}
.bdp-tabload.is-out { opacity: 0; transition: .25s; }
.bdp-main.is-in-left { animation: bdp-in-left .38s var(--ease); }
.bdp-main.is-in-right { animation: bdp-in-right .38s var(--ease); }
@keyframes bdp-in-left { from { opacity: 0; transform: translateX(18%); } to { opacity: 1; transform: none; } }
@keyframes bdp-in-right { from { opacity: 0; transform: translateX(-18%); } to { opacity: 1; transform: none; } }
.bdp-markets .bdp-chip { min-height: 32px; padding: 6px 4px; font-size: 11px; }
.bdp-lseg button { min-height: 30px; font-size: 11px; }
.bdp-load.is-on {
  border-color: var(--mint);
  box-shadow: 0 0 0 1px var(--mint), 0 14px 28px rgba(30,200,176,.22);
}
.bdp-lockcard {
  padding: 14px; border-radius: 16px; margin: 0 0 12px;
  border: 1px solid rgba(245,193,74,.4);
  background: rgba(245,193,74,.1);
}
.bdp-lockcard strong { display: block; margin-bottom: 6px; }
.bdp-lockcard p { margin: 0; color: var(--muted); font-size: 13px; }
html.bdp-apk, html.bdp-apk body.bdp-body { background: #0e1318; }
html.bdp-apk body[data-bdp-theme="light"],
html.bdp-apk body[data-bdp-theme="light"].bdp-body { background: #d5e4ea; }

.bdp-upd {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 10px 0; padding: 8px 10px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(30,200,176,.22), rgba(13,138,154,.16));
  border: 1px solid rgba(30,200,176,.4); z-index: 29;
}
.bdp-upd[hidden] { display: none !important; }
.bdp-upd strong { font-size: 12px; flex: 1; min-width: 0; }
.bdp-upd small { width: 100%; color: var(--muted); font-size: 11px; }
.bdp-upd .bdp-btn { min-height: 32px; padding: 6px 12px; font-size: 12px; }
.bdp-upd .bdp-x { width: 32px; height: 32px; }

.bdp-ai-log { max-height: min(46vh, 340px) !important; padding: 10px 8px 8px; }
body.bdp-hasdock.bdp-ailog .bdp-main { padding-bottom: calc(var(--nav) + var(--safe) + 52vh); }
body.bdp-kb.bdp-ai-on .bdp-ai-q,
body.bdp-kb.bdp-ai-on .bdp-ai-mic,
body.bdp-kb.bdp-ai-on .bdp-ai-kill { display: none; }
body.bdp-kb.bdp-ai-on .bdp-ai-dock { display: block; }
.bdp-ai-stick.is-log .bdp-ai { gap: 8px; }
.bdp-ai-stick.is-log .bdp-ai-field { flex: 1; }
.bdp-ai-stick.is-log .bdp-ai .bdp-input {
  padding-right: 44px;
  background: var(--input);
  color: var(--text);
}
body[data-bdp-theme="light"] .bdp-ai .bdp-input,
body[data-bdp-theme="light"] .bdp-ai-stick.is-log .bdp-ai .bdp-input {
  background: #fff;
  color: #0c2430;
  border-color: #c5d6dc;
}
.bdp-ai-banner {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0 0 10px; padding: 10px 12px; border-radius: 14px;
  background: rgba(74,212,196,.12); border: 1px solid rgba(74,212,196,.28);
}
.bdp-ai-banner strong { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.bdp-ai-banner span { font-size: 13px; font-weight: 750; }
.bdp-fgrp.is-load { border-color: rgba(74,212,196,.28); }
.bdp-fgrp.is-unload { border-color: rgba(255,107,122,.28); }
.bdp-seek-meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; }
.bdp-seek-meta .bdp-mini { flex: 1; min-width: 0; text-align: left; padding: 8px 10px; line-height: 1.25; }
.bdp-seek-meta .bdp-mini small { display: block; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bdp-th-h .grow small { display: none; }
.bdp-th-h .grow strong { display: block; font-size: 14px; }
.bdp-bubble.is-hits { max-width: 100%; padding: 10px; }
.bdp-bubble.is-hits > p { margin: 0 0 8px; font-weight: 750; }
.bdp-ai-hit {
  display: flex; flex-direction: column; gap: 1px; width: 100%;
  text-align: left; margin: 0 0 6px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.04); color: inherit; cursor: pointer;
}
.bdp-ai-hit strong { font-size: 13px; }
.bdp-ai-hit small { color: var(--muted); font-size: 11px; }
.bdp-ai-more {
  width: 100%; margin-top: 4px; min-height: 40px; font-size: 13px;
}
.bdp-dots { display: inline-flex; gap: 4px; margin-right: 8px; vertical-align: middle; }
.bdp-dots i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--mint);
  animation: bdp-dot 1s ease-in-out infinite;
}
.bdp-dots i:nth-child(2) { animation-delay: .15s; }
.bdp-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bdp-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.bdp-livepop {
  position: absolute; left: 12px; right: 12px; top: calc(8px + var(--top));
  z-index: 70; display: flex; align-items: center; gap: 10px;
  padding: 12px 12px 12px 14px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,0,0,.35); color: inherit;
  transform: translateY(-120%); opacity: 0; pointer-events: none;
  transition: .32s var(--ease);
}
.bdp-livepop.is-on { transform: none; opacity: 1; pointer-events: auto; }
.bdp-livepop[hidden] { display: none !important; }
.bdp-livepop.is-msg { border-left: 3px solid var(--warn); }
.bdp-livepop.is-cargo { border-left: 3px solid var(--mint); }
.bdp-livepop-ico {
  width: 40px; height: 40px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 18px;
  background: rgba(74,212,196,.16);
}
.bdp-livepop strong { display: block; font-size: 14px; }
.bdp-livepop small { color: var(--muted); font-size: 12px; }
.bdp-livepop .grow { flex: 1; min-width: 0; }
.bdp-livepop .bdp-x { width: 36px; height: 36px; flex-shrink: 0; }

.bdp-perm {
  position: absolute; inset: 0; z-index: 75;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px 16px calc(24px + var(--safe));
  background: rgba(8,12,16,.55);
}
.bdp-perm[hidden] { display: none !important; }
.bdp-perm-card {
  width: 100%; max-width: 420px; padding: 20px 18px 16px;
  border-radius: 24px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.bdp-perm-card .bdp-kicker { margin-bottom: 6px; }
.bdp-perm-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.bdp-perm-card .bdp-row { margin-top: 4px; }

.bdp-morehint { display: none !important; }
.bdp-main.has-more::after {
  content: ""; display: block; height: 36px; margin: -12px 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, var(--navy));
  position: sticky; bottom: 0;
}
.bdp-ftabs {
  grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,.05);
}
.bdp-ftabs button.is-on {
  background: var(--card); color: var(--text);
  box-shadow: 0 8px 18px rgba(0,0,0,.16);
}
body[data-bdp-theme="light"] .bdp-ftabs { background: #dce8ec; }
body[data-bdp-theme="light"] .bdp-ftabs button.is-on { background: #fff; color: #0c2430; }
.bdp-fgrp.is-load {
  background: linear-gradient(180deg, rgba(215,244,232,.22), transparent 72%);
  border-color: rgba(30,200,176,.32);
}
.bdp-fgrp.is-unload {
  background: linear-gradient(180deg, rgba(253,228,230,.26), transparent 72%);
  border-color: rgba(255,107,122,.32);
}
body[data-bdp-theme="light"] .bdp-fgrp.is-load { background: #e8f8f0; }
body[data-bdp-theme="light"] .bdp-fgrp.is-unload { background: #fdeef0; }
.bdp-rslide { margin: 8px 0 4px; }
.bdp-rslide-h {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 800; color: var(--muted); margin-bottom: 2px;
}
.bdp-rslide-h b { color: var(--mint); font-variant-numeric: tabular-nums; }
.bdp-rslide input[type="range"] { width: 100%; accent-color: var(--mint); height: 28px; }
.bdp-datebtn {
  display: block; width: 100%; text-align: left; margin-top: 8px;
  min-height: 44px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: inherit; font-weight: 750; padding: 0 12px; cursor: pointer;
}
.bdp-datebtn.is-on { border-color: var(--mint); color: var(--mint); }
.bdp-morex {
  display: block; width: 100%; margin: 10px 0 6px; min-height: 40px;
  border: 0; border-radius: 12px; background: rgba(255,255,255,.06);
  color: var(--mint); font-weight: 800; cursor: pointer;
}
.bdp-morex.is-on { color: var(--text); }
.bdp-sheet.is-filters {
  display: flex; flex-direction: column;
  max-height: min(92dvh, calc(100dvh - 8px - var(--top)));
  overflow: hidden;
}
.bdp-fscroll {
  flex: 1 1 auto; min-height: 0; overflow: auto;
  -webkit-overflow-scrolling: touch; touch-action: pan-y;
}
.bdp-sheet.is-filters .bdp-factions { flex-shrink: 0; }
.bdp-ccrow {
  display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 2px;
}
.bdp-ccrow .bdp-chip {
  min-height: 32px; padding: 4px 8px; font-size: 11px; gap: 4px;
  display: inline-flex; align-items: center;
}
.bdp-ccrow .bdp-chip b { font-size: 11px; }
.bdp-ccrow .bdp-flag, .bdp-ccrow .bdp-flag-img { width: 14px; height: 14px; }
.bdp-sheet.is-detail {
  top: calc(4px + var(--top));
  bottom: calc(6px + var(--safe));
  max-height: none;
  height: auto;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.bdp-dscroll {
  flex: 1 1 auto; min-height: 0; overflow: auto;
  -webkit-overflow-scrolling: touch; touch-action: pan-y; padding-bottom: 6px;
}
.bdp-mapwrap { position: relative; margin: 0 0 12px; }
.bdp-map-exp {
  position: absolute; right: 8px; bottom: 8px; z-index: 900;
  min-height: 32px; padding: 6px 10px; border-radius: 999px;
  border: 0; background: var(--mint); color: var(--on-mint);
  font-weight: 800; font-size: 11px; cursor: pointer;
  box-shadow: 0 8px 16px rgba(0,0,0,.22);
}
.bdp-detail-map:not(.is-wide)::after {
  content: ""; position: absolute; inset: 0; z-index: 800;
}
.bdp-detail-map { position: relative; }
.bdp-sheet.is-detail .bdp-dact { flex-shrink: 0; position: sticky; bottom: 0; }
.bdp-detail-map.is-wide { height: 260px; }
.bdp-ai-hit {
  display: block; width: 100%; text-align: left; margin: 6px 0 0; padding: 10px 12px;
  border: 0; border-radius: 14px; cursor: pointer;
  background: linear-gradient(90deg, rgba(215,244,232,.35), rgba(253,228,230,.28));
  color: inherit;
}
.bdp-ai-hit strong { display: block; font-size: 13px; }
.bdp-ai-hit small { color: var(--muted); font-size: 11px; }
.bdp-ai-stick.is-hits .bdp-ai-log { max-height: min(44vh, 340px); }
.bdp-facts div:nth-child(3n) { border-color: rgba(245,193,74,.28); }
.bdp-load .bdp-end.origin { box-shadow: inset 0 0 0 1px rgba(30,200,176,.18); }
.bdp-load .bdp-end.dest { box-shadow: inset 0 0 0 1px rgba(255,107,122,.18); }
.bdp-load-foot .bdp-price { font-size: 16px; letter-spacing: -.03em; }
body[data-bdp-theme="light"] .bdp-ai-hit { background: linear-gradient(90deg, #dff6eb, #fde8ea); }
body[data-bdp-theme="light"] .bdp-main.has-more::after { background: linear-gradient(transparent, #e8f1f4); }

/* 1.0.38 — contextual header, post hub, fleet cards, depth */
.bdp-top { min-height: calc(52px + var(--top)); }
.bdp-top .bdp-sw svg { display: block; }
.bdp-top.is-swap { animation: bdp-topswap .32s var(--ease); }
@keyframes bdp-topswap {
  from { opacity: .5; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}
.bdp-sw-back { font-size: 22px; font-weight: 400; min-width: 40px; line-height: 1; }
.bdp-pill.is-ai {
  background: rgba(30,200,176,.16); color: var(--mint);
  border-color: rgba(30,200,176,.38); max-width: none;
}
.bdp-root { transition: background .35s var(--ease); }
body[data-bdp-tab="post"] .bdp-root {
  background:
    radial-gradient(90% 48% at 88% -8%, rgba(30,200,176,.16), transparent 52%),
    var(--navy);
}
body[data-bdp-tab="fleet"] .bdp-root {
  background:
    radial-gradient(90% 48% at 12% -8%, rgba(90,167,255,.16), transparent 52%),
    var(--navy);
}
body[data-bdp-tab="inbox"] .bdp-root {
  background:
    radial-gradient(90% 46% at 50% -10%, rgba(245,193,74,.1), transparent 50%),
    var(--navy);
}
body[data-bdp-tab="more"] .bdp-root {
  background:
    radial-gradient(80% 42% at 82% 0%, rgba(30,200,176,.1), transparent 48%),
    var(--navy);
}

.bdp-post-hero { display: grid; gap: 10px; margin: 6px 0 16px; }
.bdp-phero {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center;
  width: 100%; text-align: left; padding: 16px; border-radius: 20px;
  border: 1px solid var(--line); background: var(--card); color: inherit; cursor: pointer;
  box-shadow: 0 16px 36px rgba(0,0,0,.18);
}
.bdp-phero i {
  grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 16px;
}
.bdp-phero.is-cargo i {
  background: linear-gradient(160deg, #7af0c8, #0d8a9a);
  box-shadow: 0 12px 24px rgba(13,138,154,.32);
}
.bdp-phero.is-truck i {
  background: linear-gradient(160deg, #9ecbff, #3a6ea8);
  box-shadow: 0 12px 24px rgba(58,110,168,.32);
}
.bdp-phero strong { font-size: 16px; letter-spacing: -.02em; }
.bdp-phero small { grid-column: 2; color: var(--muted); font-size: 12px; line-height: 1.35; }
.bdp-phero:active { transform: scale(.985); }
.bdp-post-side { display: grid; gap: 8px; margin: 0 0 14px; }
.bdp-post-side button {
  display: grid; gap: 2px; text-align: left; width: 100%;
  padding: 12px 14px; border-radius: 16px; border: 1px dashed var(--line);
  background: rgba(255,255,255,.03); color: inherit; cursor: pointer;
}
.bdp-post-side strong { font-size: 14px; }
.bdp-post-side small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.bdp-draft.is-card {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 12px; border-radius: 18px; margin: 10px 0 14px;
  border: 1px solid rgba(30,200,176,.35);
  background: linear-gradient(180deg, rgba(30,200,176,.12), var(--card));
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
}
.bdp-draft.is-card > div { flex: 1; min-width: 0; }
.bdp-draft.is-card small { display: block; color: var(--muted); }
.bdp-psteps { display: flex; gap: 6px; margin: 8px 0 10px; }
.bdp-psteps i {
  flex: 1; height: 4px; border-radius: 99px; background: var(--line);
  transition: background .22s var(--ease), box-shadow .22s var(--ease);
}
.bdp-psteps i.is-on { background: var(--mint); box-shadow: 0 0 12px rgba(30,200,176,.45); }
.bdp-psteps i.is-done { background: rgba(30,200,176,.5); }
.bdp-lseg.is-steps { grid-template-columns: repeat(4, 1fr); margin: 0 0 12px; }
.bdp-lseg.is-steps button {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-height: 48px; padding: 6px 3px;
}
.bdp-lseg.is-steps b { font-size: 12px; line-height: 1; }
.bdp-lseg.is-steps span {
  font-size: 9px; font-weight: 700; line-height: 1.15; color: var(--muted);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bdp-lseg.is-steps button.is-on span { color: var(--text); }
.bdp-lseg.is-steps button.is-done { color: var(--mint); }
.bdp-psec.is-load { box-shadow: inset 3px 0 0 var(--mint); }
.bdp-psec.is-unload { box-shadow: inset 3px 0 0 var(--bad); }

.bdp-fstats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 8px 0 12px; }
.bdp-fstat {
  text-align: left; padding: 12px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--card); color: inherit; cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.bdp-fstat b { display: block; font-size: 20px; letter-spacing: -.03em; }
.bdp-fstat span {
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.bdp-fstat.is-ok b { color: var(--mint); }
.bdp-fstat.is-gps b { color: #5aa7ff; }
.bdp-fstat.is-on { border-color: rgba(30,200,176,.4); box-shadow: 0 0 0 1px rgba(30,200,176,.2); }
.bdp-vcard {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left; color: inherit; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 12px; margin: 0 0 8px;
  box-shadow: 0 12px 26px rgba(0,0,0,.14);
}
.bdp-vcard .grow { flex: 1; min-width: 0; }
.bdp-vcard strong { display: block; font-size: 15px; }
.bdp-vcard small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdp-vcard .st { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.bdp-vcard .st.offline, .bdp-vhero .st.offline { background: var(--muted); }
.bdp-vcard .st.driving, .bdp-vhero .st.driving { background: #5aa7ff; }
.bdp-vcard .st.busy, .bdp-vhero .st.busy { background: var(--warn); }
.bdp-vcard.is-free { box-shadow: inset 0 0 0 1px rgba(30,200,176,.2), 0 12px 26px rgba(0,0,0,.14); }
.bdp-vcard:active { transform: scale(.985); }
.bdp-gps {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: var(--mint); box-shadow: 0 0 0 0 rgba(30,200,176,.5);
  animation: bdp-gps 1.8s ease-out infinite;
}
@keyframes bdp-gps {
  70% { box-shadow: 0 0 0 8px rgba(30,200,176,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,200,176,0); }
}
.bdp-vhero {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; margin: 0 0 12px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--card);
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}
.bdp-vhero .st { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.bdp-vhero strong { display: block; }
.bdp-vhero small { color: var(--muted); }
.bdp-sheet-sec.is-link {
  border-color: rgba(30,200,176,.28);
  background: linear-gradient(180deg, rgba(30,200,176,.08), var(--card));
}

.bdp-main.is-thread { padding-bottom: calc(8px + var(--safe)); }
.bdp-main.is-thread .bdp-composer {
  padding-bottom: calc(10px + var(--safe));
  background: linear-gradient(transparent, var(--navy) 28%);
}
body[data-bdp-tab="inbox"] .bdp-nav { opacity: 1; }
body[data-bdp-tab="inbox"] .bdp-main.is-thread { padding-bottom: calc(var(--nav) + var(--safe) + 8px); }

body[data-bdp-theme="light"] .bdp-phero,
body[data-bdp-theme="light"] .bdp-vcard,
body[data-bdp-theme="light"] .bdp-fstat,
body[data-bdp-theme="light"] .bdp-draft.is-card {
  box-shadow: 0 10px 22px rgba(12,36,48,.08);
}
body[data-bdp-theme="light"] .bdp-post-side button { background: #f4f8fa; }
body[data-bdp-theme="light"][data-bdp-tab="post"] .bdp-root,
body[data-bdp-theme="light"][data-bdp-tab="fleet"] .bdp-root,
body[data-bdp-theme="light"][data-bdp-tab="inbox"] .bdp-root,
body[data-bdp-theme="light"][data-bdp-tab="more"] .bdp-root {
  background: var(--navy);
}
