/* IBM Plex Sans — učitava se preko Google Fonts (inc/assets.php). Lokalni woff2 opcionalno u assets/fonts/. */
:root {
  --bg: #f4f7fb;
  --fg: #0f172a;
  --muted: #64748b;
  --blue: #1d6fd8;
  --green: #059669;
  --line: #e2e8f0;
  --card: #fff;
  --font: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--fg); font-family: var(--font); }
a { color: inherit; }
.bu-header {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding: 6px 12px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.bu-logo { justify-self: start; min-width: 0; text-decoration: none; display: inline-flex; align-items: center; line-height: 0; }
.bu-logo-img {
  height: 40px; width: auto; max-width: min(160px, 28vw);
  object-fit: contain; display: block; background: transparent; padding: 0;
}
.bu-tabs {
  justify-self: center;
  display: flex; gap: 2px;
  background: #eef2ff; border-radius: 14px; padding: 3px;
  width: 100%; max-width: 560px; min-width: 0; overflow: hidden;
}
.bu-tabs a {
  flex: 1 1 0; min-width: 0; overflow: hidden;
  text-align: center; padding: 8px 6px; border-radius: 11px; text-decoration: none;
  font-weight: 700; font-size: 13px; color: var(--muted);
  display: grid; align-content: center; gap: 0;
}
.bu-tabs a strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.bu-tabs a small { display: none; }
.bu-tabs a.is-on { background: #fff; color: var(--blue); box-shadow: 0 1px 0 #dbeafe; }
.bu-tabs a.green.is-on { color: var(--green); }
.bu-right {
  justify-self: end; margin: 0; display: flex; gap: 6px; align-items: center;
  min-width: 0; max-width: 100%;
}
.bu-right .bu-btn, .bu-right .bu-bell, .bu-cc select {
  flex-shrink: 0;
}
.bu-userchip {
  max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding-left: 8px; padding-right: 10px;
}
@media (min-width: 1100px) {
  .bu-header { padding: 8px 20px; gap: 12px 16px; }
  .bu-logo-img { height: 48px; max-width: 200px; }
  .bu-tabs a { padding: 8px 12px; }
  .bu-tabs a small {
    display: block; font-size: 10px; font-weight: 600; color: var(--muted);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .bu-tabs a.is-on small { color: inherit; opacity: .75; }
}
@media (max-width: 720px) {
  .bu-header { grid-template-columns: auto 1fr auto; }
  .bu-header .bu-cc,
  .bu-header .bu-bell:not(.bu-bell-board) { display: none; }
  .bu-tabs a { font-size: 12px; padding: 8px 4px; }
}
.bu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 16px; border-radius: 12px; font-weight: 800;
  text-decoration: none; border: 0; cursor: pointer; background: #e2e8f0;
}
.bu-btn.blue { background: var(--blue); color: #fff; }
.bu-btn.green { background: var(--green); color: #fff; }
.bu-btn.dark { background: #1d4ed8; color: #fff; }
.bu-btn.ghost { background: #fff; border: 1px solid var(--line); }
.bu-home, .bu-page { max-width: none; margin: 0; padding: 32px 24px 96px; width: 100%; }
.bu-page > * { max-width: 920px; }
.bu-kicker { font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.bu-kicker.green { color: var(--green); }
.bu-home h1, .bu-page h1 { font-size: 36px; margin: 8px 0; }
.bu-lead, .bu-sub { color: var(--muted); }
.bu-split { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 700px) { .bu-split { grid-template-columns: 1fr 1fr; } }
.bu-card { display: block; padding: 24px; border-radius: 24px; text-decoration: none; border: 2px solid; }
.bu-card.blue { background: #eff6ff; border-color: #bfdbfe; }
.bu-card.green { background: #f0fdf4; border-color: #bbf7d0; }
.bu-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 899px) { .bu-hero-copy .bu-cta { justify-content: center; } }
.bu-board {
  position: relative;
  display: flex; flex-direction: column;
  height: calc(100dvh - 118px); width: 100%; max-width: none; margin: 0;
}
.bu-board-bar {
  flex: 0 0 auto; z-index: 8;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px 12px 10px; min-width: 0;
}
.bu-board-body { position: relative; flex: 1 1 auto; min-height: 0; isolation: isolate; }
.bu-list { height: 100%; overflow: auto; padding: 10px 12px 96px; z-index: 2; background: var(--bg); }
.bu-map-wrap { position: absolute; inset: 0; background: #e2e8f0; z-index: 1; }
.bu-list.hidden-m { display: none; }
.bu-map-wrap.hidden-m { visibility: hidden; pointer-events: none; }
/* Legacy non-term board only — term koristi 900px cut (term.css) */
@media (min-width: 900px) {
  body:not(.bu-term) .bu-list { position: absolute; left: 0; top: 0; width: min(40%, 420px); border-right: 1px solid var(--line); display: block !important; }
  body:not(.bu-term) .bu-map-wrap { left: min(40%, 420px); visibility: visible !important; pointer-events: auto !important; }
}
#bu-map { height: 100%; width: 100%; }
.bu-detail {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(38%, 400px);
  background: #fff; border-left: 1px solid var(--line); z-index: 40;
  overflow: auto; padding: 16px 14px 24px; box-shadow: -12px 0 32px rgba(15,23,42,.12);
}
.bu-detail[hidden] { display: none !important; }
.bu-switch { display: flex; gap: 4px; background: #f1f5f9; border-radius: 999px; padding: 4px; margin-bottom: 12px; }
@media (min-width: 900px) { .bu-switch { display: none; } }
.bu-switch button { flex: 1; border: 0; background: transparent; font-weight: 800; padding: 8px; border-radius: 999px; cursor: pointer; }
.bu-switch button.is-on { background: #fff; }
.bu-filters { display: grid; gap: 10px; margin: 16px 0; }
.bu-filters label { font-size: 12px; font-weight: 800; color: var(--muted); display: grid; gap: 4px; }
.bu-filters select, .bu-filters input, .bu-form input, .bu-form select {
  height: 42px; border-radius: 12px; border: 1px solid var(--line); padding: 0 10px; font: inherit; width: 100%; background: #fff;
}
.bu-feed { display: grid; gap: 12px; }
.bu-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; }
.bu-item.active { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.bu-item.truck.active { border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.12); }
.bu-item h3 { margin: 4px 0; }
.bu-meta { color: var(--muted); font-size: 13px; }
.bu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.bu-actions a { text-align: center; text-decoration: none; padding: 10px; border-radius: 12px; font-weight: 800; font-size: 13px; color: #fff; }
.bu-call { background: #0f172a; }
.bu-wa { background: var(--green); }
.bu-locate {
  position: absolute; right: 12px; bottom: 88px; z-index: 4;
  border: 0; background: #fff; border-radius: 999px; padding: 8px 12px; font-weight: 900; box-shadow: 0 8px 24px rgba(0,0,0,.12); cursor: pointer;
}
.bu-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line); background: rgba(255,255,255,.96);
  padding-bottom: env(safe-area-inset-bottom);
}
.bu-dock a { text-align: center; padding: 10px 2px 12px; text-decoration: none; font-size: 10px; font-weight: 800; color: var(--muted); display: grid; gap: 2px; }
@media (min-width: 1024px) { .bu-dock { display: none; } .bu-locate { bottom: 16px; } }
.bu-form { display: grid; gap: 12px; margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px; }
.bu-form label { font-size: 12px; font-weight: 800; color: var(--muted); display: grid; gap: 6px; }
.bu-err { background: #fff1f2; color: #e11d48; padding: 10px 12px; border-radius: 12px; font-weight: 700; }
.bu-roles { display: grid; gap: 8px; }
.bu-role { border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-weight: 800; }
.bu-mine { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.bu-mine button { border: 0; background: none; color: var(--fg); font-weight: 800; cursor: pointer; }
.bu-mine button.danger { color: #e11d48; }
.bu-mine-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.leaflet-container { height: 100%; font-family: inherit; }
.pin { width: 28px; height: 28px; border-radius: 99px; display: grid; place-items: center; color: #fff; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(15,23,42,.25); }
.pin.cargo { background: var(--blue); }
.pin.truck { background: var(--green); }
.bu-row { display: flex; gap: 8px; align-items: flex-end; }
.bu-row .grow { flex: 1; }
.bu-icon { height: 42px; min-width: 52px; }
.bu-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bu-pill {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 6px 12px; font-weight: 800; font-size: 12px; cursor: pointer;
}
.bu-pill.is-on { background: #2563eb; color: #fff; border-color: #2563eb; }
.bu-phone { display: grid; grid-template-columns: 140px 1fr; gap: 8px; }
.bu-phone select, .bu-phone input { height: 42px; border-radius: 12px; border: 1px solid var(--line); padding: 0 10px; font: inherit; width: 100%; background: #fff; }
.bu-actions { grid-template-columns: 1fr 1fr 1fr; }
.bu-chat-btn { border: 0; background: var(--blue); color: #fff; border-radius: 12px; font-weight: 800; font-size: 13px; cursor: pointer; }
.bu-chat { position: fixed; inset: 0; z-index: 90; background: rgba(15,23,42,.42); backdrop-filter: blur(16px) saturate(1.15); display: grid; place-items: end; padding: 0; }
.bu-chat[hidden] { display: none !important; }
.bu-chat-panel { width: min(100%, 420px); height: min(92dvh, 640px); background: #fff; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; padding: 12px; box-shadow: 0 28px 80px rgba(15,23,42,.28); animation: bu-pop .4s cubic-bezier(.2,.8,.2,1); }
@media (min-width: 640px) { .bu-chat { place-items: center; padding: 24px; } .bu-chat-panel { border-radius: 24px; } }
.bu-chat-panel header { display: flex; justify-content: space-between; gap: 12px; }
.bu-chat-body { flex: 1; overflow: auto; padding: 12px 0; display: grid; gap: 8px; align-content: start; }
.bu-bubble { background: #f1f5f9; border-radius: 16px; padding: 8px 12px; max-width: 85%; }
.bu-bubble.me { margin-left: auto; background: var(--blue); color: #fff; }
.bu-chat-form { display: flex; gap: 8px; }
.bu-chat-form input { flex: 1; height: 42px; border-radius: 12px; border: 1px solid var(--line); padding: 0 10px; }
.bu-chat .bu-btn.green { width: 100%; margin-top: 8px; }
.bu-btn.amber { background: #d97706; color: #fff; }
.bu-btn.violet { background: #6d28d9; color: #fff; }

/* Unified ChatSheet (Next parity) */
.bu-chat-drawer-wrap {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  justify-content: flex-end;
}
.bu-chat-drawer-wrap[hidden] {
  display: none !important;
}
body.bu-chat-sheet-open .bu-chat-drawer-wrap {
  display: flex !important;
  z-index: 1700 !important;
  pointer-events: auto !important;
}
.bu-chat-drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(15,23,42,.35); cursor: pointer; }
.bu-chat-drawer { position: relative; width: 100%; max-width: 420px; height: 100%; background: #fff; display: flex; flex-direction: column; border-left: 1px solid var(--line); box-shadow: -12px 0 40px rgba(15,23,42,.12); animation: bu-slide-in .22s ease; }
@keyframes bu-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.bu-chat-drawer-head { display: flex; align-items: flex-start; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); }
.bu-chat-drawer-titles { flex: 1; min-width: 0; }
.bu-chat-back { border: 0; background: #f1f5f9; border-radius: 12px; width: 36px; height: 36px; font-weight: 900; cursor: pointer; }
.bu-chat-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.bu-chat-tabs button { flex: 1; border: 0; border-radius: 12px; padding: 8px; font-size: 11px; font-weight: 900; background: #f1f5f9; color: #64748b; cursor: pointer; }
.bu-chat-tabs button.is-on { background: #0369a1; color: #fff; }
.bu-chat-search { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.bu-chat-search input { width: 100%; height: 40px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; background: #f8fafc; }
.bu-chat-mark-all { margin-top: 6px; border: 0; background: none; color: #0369a1; font-size: 11px; font-weight: 900; text-decoration: underline; cursor: pointer; }
.bu-chat-list { flex: 1; overflow: auto; min-height: 120px; }
.bu-chat-empty { padding: 24px; text-align: center; color: #64748b; font-size: 14px; }
.bu-chat-row { display: flex; border-bottom: 1px solid var(--line); }
.bu-chat-row-main { flex: 1; display: flex; gap: 10px; padding: 12px; border: 0; background: none; text-align: left; cursor: pointer; }
.bu-chat-row-main:hover { background: #f8fafc; }
.bu-chat-notif { display: flex; gap: 10px; width: 100%; padding: 12px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.bu-chat-notif.is-unread { background: #f0f9ff; }
.bu-chat-avatar { width: 44px; height: 44px; border-radius: 999px; background: #e0f2fe; display: grid; place-items: center; flex-shrink: 0; font-size: 18px; }
.bu-chat-row-text { min-width: 0; flex: 1; }
.bu-chat-row-text strong { display: block; font-size: 13px; }
.bu-chat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: #0284c7; margin-left: 6px; vertical-align: middle; }
.bu-chat-map { flex-shrink: 0; align-self: stretch; padding: 0 12px; border: 0; border-left: 1px solid var(--line); background: none; font-size: 10px; font-weight: 900; color: #0369a1; cursor: pointer; }
.bu-chat-inbox, .bu-chat-thread { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.bu-chat-thread-body { flex: 1; overflow: auto; padding: 12px; display: grid; gap: 8px; align-content: start; }
.bu-chat-log-inline { display: grid; gap: 8px; }
.bu-chat-map-btn { width: 100%; margin-bottom: 8px; }
.bu-chat-wa-full { width: calc(100% - 24px); margin: 0 12px 12px; }
.bu-chat-login { background: #fffbeb; padding: 10px; border-radius: 12px; font-size: 13px; }

/* OfferLoadModal */
.bu-offer-modal { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: flex-end; justify-content: center; padding: 12px; background: rgba(15,23,42,.4); }
.bu-offer-modal[hidden] { display: none !important; }
.bu-offer-backdrop { position: absolute; inset: 0; }
.bu-offer-sheet { position: relative; width: min(100%, 420px); max-height: min(90dvh, 560px); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,23,42,.25); display: flex; flex-direction: column; }
@media (min-width: 640px) { .bu-offer-modal { align-items: center; } }
.bu-offer-head { display: flex; justify-content: space-between; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); }
.bu-offer-body { overflow: auto; padding: 12px; display: grid; gap: 8px; }
.bu-offer-card { border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.bu-offer-route { font-weight: 900; font-size: 13px; margin: 0 0 4px; }
.bu-offer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.bu-offer-empty { background: #f8fafc; border-radius: 12px; padding: 12px; font-size: 12px; color: #475569; }

/* Onboarding + tour */
.bu-onboard { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: flex-end; justify-content: center; padding: 12px; background: rgba(15,23,42,.45); backdrop-filter: blur(3px); }
.bu-onboard[hidden] { display: none !important; }
@media (min-width: 640px) { .bu-onboard { align-items: center; } }
.bu-onboard-sheet { width: min(100%, 480px); max-height: min(92dvh, 640px); overflow: auto; background: #fff; border-radius: 24px; padding: 16px; box-shadow: 0 28px 80px rgba(15,23,42,.28); }
.bu-onboard-bar { height: 6px; border-radius: 999px; background: #f1f5f9; margin-top: 8px; overflow: hidden; }
.bu-onboard-bar div { height: 100%; background: #10b981; border-radius: 999px; transition: width .2s; }
.bu-onboard-fields { display: grid; gap: 8px; margin: 12px 0; }
.bu-onboard-label { display: block; font-size: 11px; font-weight: 700; color: #64748b; }
.bu-onboard-label input, .bu-onboard-label select { display: block; width: 100%; height: 40px; margin-top: 4px; border-radius: 12px; border: 1px solid var(--line); padding: 0 10px; font-weight: 600; }
.bu-onboard-submit, .bu-onboard-sheet .bu-btn.dark { width: 100%; margin-top: 8px; }
.bu-tour-nav { display: flex; gap: 8px; margin-top: 16px; }
.bu-tour-nav .bu-btn { flex: 1; min-height: 40px; }
.bu-tour-body { margin-top: 8px; font-size: 13px; line-height: 1.55; color: #475569; }

/* HelpTip */
.bu-help-tip { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 10px; font-weight: 900; color: #475569; cursor: pointer; }
.bu-help-tip-inline { height: 28px; margin-right: 6px; }
.bu-help-modal { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: flex-end; justify-content: center; padding: 12px; background: rgba(15,23,42,.4); }
.bu-help-modal[hidden] { display: none !important; }
.bu-help-backdrop { position: absolute; inset: 0; }
.bu-help-sheet { position: relative; width: min(100%, 420px); max-height: min(88dvh, 520px); overflow: auto; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 24px 60px rgba(15,23,42,.25); }
@media (min-width: 640px) { .bu-help-modal { align-items: center; } }
.bu-help-sheet header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.bu-help-sheet h2 { margin: 0; font-size: 18px; }
.bu-help-body { font-size: 13px; line-height: 1.55; color: #475569; }
.bu-help-body p { margin: 0 0 8px; }
.bu-vip-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.bu-vip-head .bu-help-tip { margin-left: auto; order: 2; }
.bu-vip-x { order: 3; }
.bu-lista-hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bu-dispo-head-actions { display: flex; gap: 6px; align-items: center; }
.bu-dash-who { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bu-dash-who .bu-help-tip { margin-left: auto; }

/* Mobile safe-area + touch */
@media (max-width: 899px) {
  .bu-chat-drawer { max-width: 100%; padding-bottom: env(safe-area-inset-bottom); }
  .bu-offer-sheet { border-radius: 16px 16px 0 0; width: 100%; max-width: none; }
  .bu-onboard-sheet { border-radius: 20px 20px 0 0; }
  .bu-mobile-fab-stack { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .bu-vip-status-bar { padding-bottom: env(safe-area-inset-bottom); }
}

.bu-form textarea { min-height: 120px; border-radius: 12px; border: 1px solid var(--line); padding: 10px; font: inherit; width: 100%; }
.bu-ok { background: #f0fdf4; color: #15803d; padding: 10px 12px; border-radius: 12px; font-weight: 700; }
.bu-kicker.blue { color: var(--blue); }
.bu-more { display: none; gap: 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.bu-more a { text-decoration: none; }
.hide-sm { display: none; }
.bu-facts { padding: 0; list-style: none; display: grid; gap: 8px; }
.bu-facts li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.bu-single-map { height: 280px; border-radius: 16px; overflow: hidden; margin: 20px 0; border: 1px solid var(--line); }
.bu-prose, .bu-content { line-height: 1.65; color: #334155; }
.bu-prose h2, .bu-content h2 { color: var(--fg); margin-top: 1.4em; }
.bu-item h3 a { text-decoration: none; }
.bu-toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%) translateY(12px);
  background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 999px;
  font-weight: 800; font-size: 13px; opacity: 0; pointer-events: none; z-index: 80; transition: .2s;
}
.bu-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.bu-foot { border-top: 1px solid var(--line); padding: 32px 16px 96px; color: var(--muted); font-size: 14px; }
.bu-foot-grid { max-width: 960px; margin: 0 auto; display: grid; gap: 24px; }
.bu-foot nav { display: grid; gap: 8px; }
.bu-foot a { text-decoration: none; }
.bu-copy { max-width: 960px; margin: 24px auto 0; }
@media (min-width: 700px) {
  .bu-more, .hide-sm { display: flex; }
  .bu-foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.bu-free {
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center;
  padding: 8px 16px; background: #eff6ff; color: #1e3a8a; font-size: 13px; font-weight: 700;
}
.bu-free-clock { font-variant-numeric: tabular-nums; color: #93c5fd; }
.bu-hint { margin: 8px 0 4px; font-size: 12px; font-weight: 800; color: var(--muted); }
.bu-dims { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.bu-dims input { height: 42px; border-radius: 12px; border: 1px solid var(--line); padding: 0 10px; font: inherit; width: 100%; }
.bu-route-hud {
  position: absolute; left: 12px; top: 12px; z-index: 4;
  background: rgba(15,23,42,.92); color: #fff; padding: 8px 12px; border-radius: 12px;
  font-size: 12px; font-weight: 700; max-width: min(92%, 360px); box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.bu-route-hud[hidden] { display: none; }
.bu-page .bu-route-hud { position: static; margin: 12px 0 0; background: #0f172a; }

.bu-auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.bu-auth-tab {
  border: 2px solid var(--line); background: #fff; border-radius: 16px;
  padding: 14px 10px; font-weight: 900; font-size: 14px; cursor: pointer;
  text-align: center; text-decoration: none; color: var(--muted);
}
.bu-auth-tab.is-on { background: #eff6ff; border-color: var(--blue); color: var(--blue); }
.bu-auth-tab.green.is-on { background: #f0fdf4; border-color: var(--green); color: var(--green); }
.bu-form-shipper { border: 2px solid #bfdbfe; background: #f8fbff; }
.bu-form-trucker { border: 2px solid #bbf7d0; background: #f4fdf7; }
.bu-panel-lead { margin: 0; color: #334155; line-height: 1.5; }
.bu-check { display: flex !important; flex-direction: row; align-items: flex-start; gap: 8px; font-size: 13px !important; color: var(--fg) !important; }
.bu-check input { width: auto; height: auto; margin-top: 3px; }
.bu-login-hints { display: grid; gap: 10px; margin: 16px 0; }
@media (min-width: 640px) { .bu-login-hints { grid-template-columns: 1fr 1fr; } }
.bu-hint-card { border-radius: 16px; padding: 14px; border: 2px solid; }
.bu-hint-card.blue { background: #eff6ff; border-color: #bfdbfe; }
.bu-hint-card.green { background: #f0fdf4; border-color: #bbf7d0; }
.bu-hint-card p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.bu-badge {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 3px 10px; font-size: 11px; font-weight: 800; margin-right: 6px;
  background: #e2e8f0; color: #334155;
}
.bu-badge.slobodan, .bu-badge.aktivan, .bu-badge.open { background: #dcfce7; color: #166534; }
.bu-badge.zauzet, .bu-badge.done { background: #ffedd5; color: #9a3412; }
.bu-badge.away { background: #fef9c3; color: #854d0e; }
.bu-badge.offline, .bu-badge.removed { background: #e2e8f0; color: #64748b; }
.bu-badge.direct { background: #dbeafe; color: #1d4ed8; }
.bu-geo-wrap { position: relative; }
.bu-geo { width: 100%; height: 42px; border-radius: 12px; border: 1px solid var(--line); padding: 0 10px; font: inherit; background: #fff; }
.bu-geo-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60;
  margin: 0; padding: 6px; list-style: none; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; max-height: 280px; overflow: auto;
  box-shadow: 0 16px 40px rgba(15,23,42,.16);
}
.bu-geo-list li { padding: 8px 10px; border-radius: 10px; cursor: pointer; display: grid; gap: 2px; font-size: 14px; font-weight: 700; }
.bu-geo-list li span { font-size: 12px; font-weight: 500; color: var(--muted); }
.bu-geo-list li.bu-geo-typed { background: #f8fafc; }
.bu-geo-list li.is-on, .bu-geo-list li:hover, .bu-geo-list li:focus { background: #eff6ff; }
.bu-cluster {
  width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center;
  background: #0f172a; color: #fff; font-size: 12px; font-weight: 900; border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(15,23,42,.28);
}
.bu-map-note { font-size: 11px; color: var(--muted); margin: 0 0 8px; grid-column: 1 / -1; }
.bu-pop ul { margin: 6px 0 0; padding-left: 16px; font-size: 12px; }
.bu-geo-empty { color: var(--muted); font-weight: 600 !important; cursor: default; }
.bu-post-page { max-width: 1200px; }
.bu-post-layout { display: grid; gap: 20px; }
.bu-post-map-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px; }
.bu-post-map { height: 380px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #e2e8f0; }
.bu-place { border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: grid; gap: 10px; margin: 0; background: #fff; }
.bu-place.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.bu-place legend { font-weight: 900; padding: 0 6px; }
.bu-place-grid { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.bu-place-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.bu-adv { margin-top: 8px; }
.bu-adv > summary { font-weight: 800; cursor: pointer; padding: 8px 0; }
@media (min-width: 960px) {
  .bu-post-layout { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; }
  .bu-post-map-card { position: sticky; top: 96px; }
}
@media (max-width: 699px) {
  .bu-place-grid { grid-template-columns: 1fr; }
}
.bu-dir-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.bu-dir-card.truck { border-color: #bbf7d0; background: #f8fff9; }
.bu-dir-card.firm { border-color: #bfdbfe; background: #f8fbff; }
.bu-dir-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.bu-dir-top h2 { margin: 0; font-size: 18px; }
.bu-mine { flex-wrap: wrap; gap: 8px; }
.bu-mine-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.bu-mine-actions button { background: #f1f5f9; color: var(--fg); border-radius: 10px; padding: 8px 12px; }
.bu-mine-actions .danger { color: #e11d48; background: #fff1f2; }
.bu-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; font-weight: 800; }
.bu-report { border: 0; background: none; color: #e11d48; font-weight: 800; cursor: pointer; font-size: 12px; padding: 4px 0; }
.bu-filters-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 12px 8px; margin: 12px 0; }
.bu-filters-box > summary { font-weight: 800; cursor: pointer; padding: 10px 0; }
.bu-board-cargo .bu-list { background: linear-gradient(#eff6ff, #f4f6fb 120px); }
.bu-board-truck .bu-list { background: linear-gradient(#f0fdf4, #f4f6fb 120px); }
.bu-board-cargo h1 { color: #1d4ed8; }
.bu-board-truck h1 { color: #15803d; }

@media (max-width: 699px) {
  .bu-home h1, .bu-page h1 { font-size: 26px; }
  .bu-page, .bu-home { padding: 20px 12px 110px; }
  .bu-form { padding: 16px; }
  .bu-phone { grid-template-columns: 1fr; }
  .bu-dims { grid-template-columns: 1fr; }
  .bu-actions { grid-template-columns: 1fr 1fr; }
  .bu-actions .bu-chat-btn { grid-column: 1 / -1; min-height: 44px; }
  .bu-btn { min-height: 44px; }
  .bu-list { padding: 12px 12px 160px; }
  .bu-cta .bu-btn { flex: 1 1 140px; }
  .bu-more { display: none !important; }
}
@media (min-width: 700px) {
  .bu-more { display: flex; }
  .bu-board { height: calc(100dvh - 88px); }
}
@media (min-width: 1024px) {
  .bu-filters-box { border: 0; background: transparent; padding: 0; }
  .bu-filters-box > summary { display: none; }
  .bu-filters-box[open] .bu-filters, .bu-filters-box .bu-filters { display: grid; }
}

.bu-bell {
  position: relative; border: 1px solid var(--line); background: #fff; color: inherit; border-radius: 12px;
  width: 42px; height: 42px; cursor: pointer; font-size: 16px;
}
.bu-bell-n {
  position: absolute; top: -4px; right: -4px; background: #e11d48; color: #fff;
  font-size: 10px; font-weight: 900; min-width: 16px; height: 16px; border-radius: 99px;
  display: grid; place-items: center; padding: 0 4px;
}
.bu-notes {
  position: fixed; right: 16px; top: 72px; z-index: 1400; width: min(420px, calc(100% - 24px));
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 64px rgba(15,23,42,.18); padding: 14px; animation: bu-pop .32s cubic-bezier(.2,.8,.2,1);
}
.bu-notes header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bu-notes-legend { margin: 0 0 8px; font-size: 11px; font-weight: 650; color: #64748b; line-height: 1.4; }
.bu-note-group { margin: 10px 0 4px; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.bu-note.is-read { opacity: .62; }
.bu-notes-list { display: grid; gap: 8px; max-height: 320px; overflow: auto; }
.bu-note { display: grid; text-decoration: none; padding: 8px 10px; border-radius: 12px; background: #f8fafc; }
.bu-note span { color: var(--muted); font-size: 12px; }
.bu-stabs { display: flex; gap: 6px; align-items: stretch; margin: 12px 0 8px; }
.bu-stab-scroll { display: flex; gap: 6px; overflow-x: auto; flex: 1; padding-bottom: 4px; }
.bu-stab {
  flex: 0 0 auto; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 12px; font-weight: 800; font-size: 12px; cursor: pointer; display: flex; gap: 8px; align-items: center;
}
.bu-stab.is-on { background: #2563eb; color: #fff; border-color: #2563eb; }
.bu-stab.watch { box-shadow: 0 0 0 2px #fbbf24; }
.bu-stab i { font-style: normal; opacity: .7; }
.bu-stab-add {
  width: 42px; min-width: 42px; border-radius: 12px; border: 1px dashed var(--blue);
  background: #eff6ff; color: var(--blue); font-size: 22px; font-weight: 900; cursor: pointer;
}
.bu-livebar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.bu-livebar label { display: flex; gap: 6px; align-items: center; cursor: pointer; color: var(--fg); }
.bu-quick {
  position: fixed; left: 12px; right: 72px; bottom: 64px; z-index: 45;
  display: flex; gap: 8px; align-items: center; background: #0f172a; color: #fff;
  padding: 10px 12px; border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.bu-quick[hidden] { display: none !important; }
.bu-quick small { display: block; opacity: .7; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.bu-quick strong { display: block; font-size: 13px; }
.bu-quick .bu-call, .bu-quick .bu-wa { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 800; font-size: 12px; color: #fff; margin-left: auto; }
.bu-quick .bu-call { background: #334155; }
.bu-support { position: fixed; right: 12px; bottom: 64px; z-index: 46; display: grid; justify-items: end; gap: 8px; }
.bu-support-fab {
  height: 48px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; font-weight: 900; box-shadow: 0 10px 24px rgba(37,99,235,.35);
}
.bu-support-menu {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  display: grid; min-width: 180px; box-shadow: 0 12px 32px rgba(15,23,42,.16);
}
.bu-support-menu a, .bu-support-menu button {
  border: 0; background: none; text-align: left; padding: 10px 12px; font: inherit; font-weight: 800;
  cursor: pointer; text-decoration: none; color: var(--fg); border-radius: 10px;
}
.bu-support-menu a:hover, .bu-support-menu button:hover { background: #f1f5f9; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.bu-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.bu-home-full { max-width: 960px; }
.bu-hero h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; }
.bu-home-block { margin-top: 40px; }
.bu-linkgrid { display: grid; gap: 10px; margin: 16px 0 28px; }
@media (min-width: 700px) { .bu-linkgrid { grid-template-columns: 1fr 1fr; } }
.bu-linkgrid a {
  display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); text-decoration: none;
}
.bu-linkgrid span { color: var(--muted); font-size: 13px; }
.bu-lockbox {
  margin-top: 10px; padding: 12px; border-radius: 14px;
  background: repeating-linear-gradient(-45deg, #f8fafc, #f8fafc 8px, #eef2ff 8px, #eef2ff 16px);
  border: 1px dashed #94a3b8;
}
.bu-lockbox .bu-cta { margin-top: 8px; }
.bu-guestbar {
  background: #fff7ed; border: 1px solid #fdba74; color: #9a3412;
  padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 700; margin: 10px 0;
}
.bu-item-demo { opacity: .96; }
.bu-gate {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(244,246,251,.58);
  backdrop-filter: blur(18px) saturate(1.2);
  display: grid; place-items: center; padding: 16px;
}
.bu-gate-card {
  position: relative; width: min(460px, 100%);
  background: #fff; border-radius: 28px; padding: 32px 22px 22px;
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 32px 90px rgba(15,23,42,.2);
  animation: bu-pop .45s cubic-bezier(.2,.8,.2,1);
}
.bu-gate-logo {
  display: block; height: 72px; width: auto; max-width: min(280px, 100%);
  margin: 0 auto 14px; object-fit: contain; background: transparent; padding: 0;
}
.bu-gate-x {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
  border: 0; border-radius: 12px; background: #f1f5f9; font-size: 22px; cursor: pointer; color: #0f172a;
}
.bu-gate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bu-gate .bu-geo-wrap { z-index: 8; }
.bu-gate .bu-geo-list { z-index: 30; }
body.bu-gate-on { overflow: hidden; }
.bu-gate-grid { display: grid; gap: 8px; margin-top: 16px; }
@media (min-width: 600px) { .bu-gate-grid { grid-template-columns: 1fr 1fr; } }
.bu-gate-btn {
  border: 1px solid var(--line); background: #f8fafc; border-radius: 12px;
  padding: 12px; font: inherit; font-weight: 800; cursor: pointer; text-align: left;
}
.bu-gate-btn:hover { border-color: var(--blue); background: #eff6ff; }
.bu-cc select {
  height: 42px; border-radius: 12px; border: 1px solid var(--line); font-weight: 800; background: #fff; color: inherit;
}
.bu-blog-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .bu-blog-grid { grid-template-columns: 1fr 1fr; } }
.bu-blog-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.bu-blog-card img { width: 100%; height: auto; border-radius: 12px; }
.bu-article-hero img { width: 100%; height: auto; border-radius: 16px; }
.bu-help-aside { margin-top: 32px; padding: 16px; background: #eff6ff; border-radius: 16px; }
.bu-dir-card.is-mine { box-shadow: 0 0 0 2px var(--blue); }
.bu-schengen-hud { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.bu-schengen-hud div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.bu-schengen-hud small { display: block; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bu-schengen-hud strong { font-size: 28px; }
.bu-schengen-bar { height: 10px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.bu-schengen-bar i { display: block; height: 100%; width: 0; background: var(--blue); }
.bu-seo-langs p { color: var(--muted); }
.bu-toc {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 28px;
}
.bu-toc a {
  font-size: 12px; font-weight: 800; text-decoration: none;
  padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.bu-mock {
  background: #0f172a; color: #e2e8f0; border-radius: 20px; padding: 14px; margin: 16px 0 24px;
}
.bu-mock-bar { display: flex; gap: 8px; margin-bottom: 10px; }
.bu-mock-bar span, .bu-mock-bar b {
  flex: 1; height: 10px; border-radius: 99px; background: #334155; display: block;
}
.bu-mock-bar span.on { background: #2563eb; }
.bu-mock-bar span:nth-child(2).on { background: #16a34a; }
.bu-mock-cap { font-size: 12px; color: #94a3b8; margin: 8px 0 0; }
.bu-mock-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.bu-mock-tabs i {
  font-style: normal; font-size: 11px; font-weight: 800;
  padding: 6px 10px; border-radius: 999px; background: #1e293b;
}
.bu-mock-tabs i.on { background: #2563eb; color: #fff; }
.bu-mock-tabs i.add { background: #1e3a5f; }
.bu-mock-row { display: grid; gap: 8px; }
@media (min-width: 640px) { .bu-mock-row { grid-template-columns: 1.2fr .8fr; } }
.bu-mock-card {
  background: #1e293b; border-radius: 12px; padding: 12px; font-size: 13px;
}
.bu-mock-btns { display: flex; gap: 6px; margin-top: 8px; }
.bu-mock-btns b { font-size: 10px; background: #334155; padding: 4px 8px; border-radius: 8px; }
.bu-mock-map {
  min-height: 88px; border-radius: 12px;
  background: radial-gradient(circle at 30% 40%, #1d4ed8 0, #0f172a 55%);
  display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #93c5fd;
}
.bu-mock-quick { margin-top: 8px; font-size: 11px; font-weight: 800; background: #16a34a; color: #fff; border-radius: 10px; padding: 8px; text-align: center; }
.bu-appcta {
  display: grid; gap: 20px; align-items: center;
  background: #eff6ff; color: var(--fg);
  border-radius: 28px; padding: 24px; border: 1px solid #bfdbfe;
}
@media (min-width: 720px) { .bu-appcta { grid-template-columns: 140px 1fr; } }
.bu-appcta .bu-sub { color: var(--muted); }
.bu-appcta-phone {
  width: 120px; height: 220px; margin: 0 auto; border-radius: 24px;
  border: 4px solid #cbd5e1; background: #fff; padding: 10px;
}
.bu-appcta-screen { background: #eff6ff; color: #0f172a; border-radius: 14px; height: 100%; padding: 10px; display: grid; align-content: start; gap: 4px; }
.bu-appcta-screen em { font-style: normal; font-weight: 900; }
.bu-store {
  display: inline-flex; align-items: center; height: 42px; padding: 0 14px;
  border-radius: 12px; background: #fff; color: #0f172a; font-weight: 900; text-decoration: none;
}
.bu-store.dark { background: #020617; color: #fff; border: 1px solid #334155; }
.bu-store.is-soon { opacity: .7; }
.bu-mailband {
  max-width: 960px; margin: 0 auto 24px; padding: 20px 16px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
}
.bu-ol { padding-left: 18px; display: grid; gap: 8px; }
.bu-help h3 { margin-top: 1.2em; }
.bu-pre {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(120% 80% at 50% 0%, #eff6ff 0%, #f8fafc 45%, #eef2ff 100%);
  color: #0f172a;
  display: grid; place-items: center;
  transition: opacity .38s ease, visibility .38s;
}
.bu-pre-scene { position: relative; display: grid; place-items: center; }
.bu-pre-glow {
  position: absolute; width: min(420px, 88vw); height: min(420px, 88vw); border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.18) 0%, rgba(37,99,235,0) 68%);
  animation: bu-pre-pulse 2.4s ease-in-out infinite;
}
.bu-pre-orbit {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  border: 1px dashed rgba(37,99,235,.22);
  animation: bu-pre-spin 8s linear infinite;
}
.bu-pre-orbit span {
  position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}
.bu-pre-orbit span:nth-child(1) { top: -4px; left: 50%; transform: translateX(-50%); }
.bu-pre-orbit span:nth-child(2) { bottom: 18%; right: 6%; background: #16a34a; }
.bu-pre-orbit span:nth-child(3) { bottom: 18%; left: 6%; background: #0ea5e9; }
.bu-pre.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.bu-pre-card {
  position: relative; z-index: 1;
  display: grid; justify-items: center; gap: 14px; text-align: center;
  width: min(340px, 88vw);
  padding: 28px 22px 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 24px 60px rgba(15,23,42,.12);
  backdrop-filter: blur(10px);
  animation: bu-pre-pop .55s cubic-bezier(.2,.8,.2,1) both;
}
.bu-pre-logo {
  width: min(220px, 62vw); height: auto; max-height: 88px;
  object-fit: contain; background: transparent;
}
.bu-pre-tag {
  margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #64748b;
}
.bu-pre-steps {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.bu-pre-step {
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 6px 10px; border-radius: 999px;
  background: #f1f5f9; color: #64748b;
  transition: background .25s, color .25s, transform .25s;
}
.bu-pre-step.is-on {
  background: linear-gradient(90deg, #2563eb, #16a34a);
  color: #fff; transform: translateY(-1px);
}
.bu-pre-progress {
  width: min(220px, 70vw); height: 4px; border-radius: 99px;
  background: #e2e8f0; overflow: hidden;
}
.bu-pre-progress i {
  display: block; height: 100%; width: 36%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #16a34a, #0ea5e9);
  animation: bu-pre-progress 1.1s ease-in-out infinite;
}
@keyframes bu-pre-progress {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
@keyframes bu-pre-pulse {
  0%, 100% { transform: scale(.94); opacity: .75; }
  50% { transform: scale(1.04); opacity: 1; }
}
@keyframes bu-pre-spin { to { transform: rotate(360deg); } }
.bu-auth-logo {
  display: block; height: 88px; width: auto; max-width: min(280px, 92%);
  margin: 0 auto 12px; object-fit: contain; background: transparent; padding: 0;
}
.bu-pre-bar { position: relative; z-index: 1; width: 96px; height: 3px; border-radius: 99px; background: #dbeafe; overflow: hidden; display: none; }
@keyframes bu-load { 0% { transform: translateX(-120%); } 100% { transform: translateX(280%); } }
@keyframes bu-spin { to { transform: rotate(360deg); } }
@keyframes bu-pre-pop {
  from { opacity: 0; transform: scale(.86) translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes bu-pre-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.bu-pre .bu-dev { position: relative; z-index: 1; color: #64748b; margin: 0; font-size: 12px; }
body.bu-has-pre { overflow: hidden; }
body.bu-in .bu-header, body.bu-in .bu-home, body.bu-in .bu-page, body.bu-in .bu-board, body.bu-in .bu-free, body.bu-in .bu-foot, body.bu-in .bu-dock, body.bu-in .bu-landing {
  animation: bu-fadein .45s cubic-bezier(.2,.8,.2,1);
}
body.bu-out .bu-header, body.bu-out .bu-home, body.bu-out .bu-page, body.bu-out .bu-board, body.bu-out .bu-free, body.bu-out .bu-foot, body.bu-out .bu-dock, body.bu-out .bu-landing {
  animation: bu-fadeout .22s ease forwards;
}
@keyframes bu-fadein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bu-fadeout { to { opacity: 0; transform: translateY(-10px); } }
@keyframes bu-pop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.bu-dev { text-align: center; font-size: 12px; color: var(--muted); font-weight: 700; margin: 8px auto 24px; max-width: 960px; }
.bu-dev strong { color: var(--fg); }
.bu-ava { border-radius: 50%; object-fit: cover; display: inline-block; background: #e2e8f0; }
.bu-ava-letter { display: inline-grid; place-items: center; background: #0f172a; color: #fff; font-weight: 900; }
.bu-userchip { gap: 8px; padding-left: 8px; }
.bu-profile-head { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.bu-pass { display: flex; gap: 8px; }
.bu-pass input { flex: 1; }
.bu-pass-toggle { border: 1px solid var(--line); background: #fff; border-radius: 12px; font-weight: 800; cursor: pointer; padding: 0 12px; }
.bu-morebox { border: 1px dashed var(--line); border-radius: 14px; padding: 10px 12px; }
.bu-morebox summary { cursor: pointer; font-weight: 800; }
.bu-pills-static { display: flex; flex-wrap: wrap; gap: 8px 14px; }
@media (prefers-reduced-motion: reduce) {
  .bu-pre, .bu-pre-glow, .bu-pre-orbit, .bu-pre-progress i, .bu-pre-bar::after, .bu-chat-panel, .bu-gate-card, .bu-notes, .bu-detail,
  body.bu-in .bu-header, body.bu-in .bu-home, body.bu-in .bu-page, body.bu-in .bu-board, body.bu-in .bu-free, body.bu-in .bu-foot, body.bu-in .bu-dock, body.bu-in .bu-landing,
  body.bu-out .bu-header, body.bu-out .bu-home, body.bu-out .bu-page, body.bu-out .bu-board, body.bu-out .bu-free, body.bu-out .bu-foot, body.bu-out .bu-dock, body.bu-out .bu-landing {
    animation: none !important; transition: none !important;
  }
}
@media (max-width: 700px) {
.bu-header { padding: 6px 8px; }
.bu-logo-img { height: 34px; max-width: min(110px, 28vw); }
.bu-tabs a small { display: none; }
.bu-tabs a { padding: 7px 4px; font-size: 12px; }
.bu-btn { height: 36px; padding: 0 12px; font-size: 13px; }
.bu-free { font-size: 12px; padding: 6px 10px; }
}
.bu-board h1 { font-size: 22px !important; margin: 4px 0; }
.bu-filters-box { padding: 8px; margin: 8px 0; }
.bu-lane-grid { display: grid; gap: 8px; }
@media (min-width: 700px) { .bu-lane-grid { grid-template-columns: 1fr 1fr; } }
.bu-lane { border-radius: 12px; padding: 8px; display: grid; gap: 6px; }
.bu-lane header { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.bu-lane-load { background: #eff6ff; border: 1px solid #bfdbfe; }
.bu-lane-unload { background: #f0fdf4; border: 1px solid #bbf7d0; }
.bu-lane-load header span, .bu-from { color: #1d4ed8; }
.bu-lane-unload header span, .bu-to { color: #15803d; }
.bu-lane-row { display: grid; grid-template-columns: 1fr 90px; gap: 6px; }
.bu-lane input, .bu-lane-tools select, .bu-lane-tools input { height: 34px; font-size: 13px; }
.bu-lane-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-top: 8px; }
.bu-lane-tools label { font-size: 11px; font-weight: 800; color: var(--muted); display: grid; gap: 4px; }
.bu-item.compact { padding: 10px; display: grid; gap: 4px; }
.bu-route-line { display: flex; flex-wrap: wrap; gap: 6px; font-weight: 800; font-size: 14px; }
.bu-route-line .bu-from::after { content: " →"; color: #94a3b8; }
.bu-info-btn { height: 32px; width: max-content; }
.bu-item-hint { cursor: default; color: var(--muted); }
.bu-map-hint {
  position: absolute; left: 12px; top: 12px; z-index: 3;
  background: rgba(15,23,42,.86); color: #fff; padding: 8px 10px; border-radius: 10px;
  font-size: 12px; font-weight: 700; max-width: 240px;
}
.bu-detail-x { position: sticky; top: 0; margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: #f1f5f9; border-radius: 10px; font-size: 18px; cursor: pointer; }
.bu-detail h2 { font-size: 18px; margin: 4px 0 10px; }
.bu-desc { background: #f8fafc; border-radius: 12px; padding: 10px; font-size: 14px; white-space: pre-wrap; }
.bu-detail-contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bu-lockbox-nice { background: #f8fafc; border: 1px dashed var(--line); border-radius: 14px; padding: 12px; }
.bu-place-load { border-color: #93c5fd; background: #eff6ff; }
.bu-place-unload { border-color: #86efac; background: #f0fdf4; }
.bu-gate-form { display: grid; gap: 10px; }
.bu-gate-form input { height: 44px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; font: inherit; width: 100%; }
.bu-quick[hidden] { display: none !important; }
.pin { width: 14px; height: 14px; border-radius: 50%; }
@media (max-width: 1023px) {
  .bu-detail { width: 100%; height: 46%; top: auto; border-left: 0; border-top: 1px solid var(--line); }
}
select[multiple] { min-height: 88px; }

.bu-header .bu-btn.ghost { background: #fff; border-color: var(--line); color: var(--fg); }
.bu-header .bu-userchip { color: inherit; }
.bu-landing { width: 100%; }
.bu-wrap { width: 100%; margin: 0; padding: 0 28px; }
.bu-hero-full {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #eef4ff 0%, #f4f6fb 100%);
  color: var(--fg);
}
.bu-hero-inner {
  position: relative; z-index: 2;
  width: 100%; margin: 0;
  display: grid; gap: 32px; padding: 48px 28px 56px;
  align-items: center; justify-items: center;
}
@media (min-width: 900px) {
  .bu-hero-inner { grid-template-columns: minmax(0, 1fr) 240px; justify-items: stretch; max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
}
.bu-hero-copy { text-align: center; max-width: 640px; justify-self: center; }
@media (min-width: 900px) {
  .bu-hero-copy { text-align: left; justify-self: start; }
}
.bu-hero-copy h1 { font-size: clamp(28px, 4vw, 46px); line-height: 1.1; margin: 8px 0 14px; color: var(--fg); text-shadow: none; }
.bu-hero-copy .bu-lead { color: var(--muted); font-size: 17px; max-width: 38rem; }
.bu-hero-copy .bu-kicker { color: var(--blue); }
.bu-hero-note { color: var(--muted); font-size: 14px; margin-top: 14px; }
.bu-hint-row { display: grid; gap: 8px; margin-top: 16px; }
.bu-hint-row p { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.bu-hint-row strong { color: var(--fg); }
.bu-hero-phone { margin: 0; display: grid; place-items: center; text-decoration: none; color: inherit; }
.bu-phone-mock {
  position: relative; width: 220px; height: 440px; border-radius: 36px;
  border: 10px solid #e2e8f0; background: #fff; padding: 12px 10px 16px;
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
}
.bu-phone-mock::before {
  content: ""; position: absolute; width: 72px; height: 8px; border-radius: 99px; background: #e2e8f0; top: 12px; left: 50%; transform: translateX(-50%);
}
.bu-phone-screen {
  margin-top: 18px; height: calc(100% - 18px); border-radius: 24px; background: #fff;
  display: grid; place-content: center; justify-items: center; gap: 12px; padding: 16px 12px; text-align: center;
}
.bu-phone-logo { width: 78%; height: auto; max-height: 72px; object-fit: contain; }
.bu-phone-screen strong { font-size: 14px; line-height: 1.3; }
.bu-play-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #1e3a8a; background: #eef4ff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 6px 10px; }
.bu-play-badge svg { display: block; }
.bu-hero-full .bu-fx-hero { position: absolute; inset: 0; z-index: 0; opacity: .45; }
.bu-band { padding: 56px 0; }
.bu-band-how { background: #fff; }
.bu-band h2 { font-size: clamp(22px, 3vw, 32px); margin: 6px 0 24px; }
.bu-band-muted { background: #eef2f7; }
.bu-band-photo { position: relative; overflow: hidden; }
.bu-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; pointer-events: none; }
.bu-band-photo-inner { position: relative; z-index: 1; }
.bu-header { padding-left: 20px; padding-right: 20px; }
.bu-band { padding: 64px 0; }
.bu-band-how { padding-top: 88px; background: #fff; }
.bu-band h2 { font-size: clamp(22px, 3vw, 32px); margin: 6px 0 24px; }
.bu-band-muted { background: #eef2f7; }
.bu-band-photo { position: relative; color: var(--fg); overflow: hidden; }
.bu-band-photo::before { display: none; }
.bu-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; pointer-events: none; }
.bu-band-photo-inner { position: relative; z-index: 1; }
.bu-band-photo h2, .bu-band-photo .bu-kicker { color: var(--fg); }
.bu-lead-light { color: var(--muted); font-size: 17px; max-width: 40rem; }
.bu-duo, .bu-trio { display: grid; gap: 14px; }
@media (min-width: 800px) {
  .bu-duo { grid-template-columns: 1fr 1fr; }
  .bu-trio { grid-template-columns: 1fr 1fr 1fr; }
}
.bu-tile { display: block; padding: 22px; border-radius: 20px; text-decoration: none; border: 1px solid var(--line); background: #fff; }
.bu-tile span { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bu-tile strong { display: block; font-size: 22px; margin: 8px 0; }
.bu-tile p { margin: 0; color: var(--muted); }
.bu-tile.blue { background: #eff6ff; border-color: #bfdbfe; }
.bu-tile.green { background: #f0fdf4; border-color: #bbf7d0; }
.bu-steps-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bu-steps-cards li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; background: #f8fafc; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.bu-steps-cards span { width: 42px; height: 42px; border-radius: 12px; background: #dbeafe; color: #1d4ed8; display: grid; place-items: center; font-weight: 900; }
.bu-steps-cards p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.bu-filter-lead { font-size: 13px; color: var(--muted); margin: 4px 0 10px; font-weight: 700; }
.bu-quick-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.bu-chip { border: 1px solid #bfdbfe; background: #eff6ff; color: #1d4ed8; border-radius: 999px; padding: 8px 14px; font-weight: 800; cursor: pointer; }
.bu-chip.is-on { background: #2563eb; color: #fff; border-color: #2563eb; }
.bu-chip-hint { font-size: 12px; color: var(--muted); }
.bu-auth-switch-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 700px) { .bu-auth-switch-5 { grid-template-columns: 1fr 1fr; } }
.bu-dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 16px; }
.bu-dash-stats div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.bu-dash-stats small { display: block; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bu-dash-stats strong { font-size: 22px; }
.bu-post-panel { height: auto !important; max-height: 92dvh; }
.bu-post-choices { display: grid; gap: 10px; padding: 12px 0 8px; }
.bu-head-row { display: none; }
.bu-sec-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 8px; flex-wrap: wrap; }
.bu-job-grid, .bu-news-grid { display: grid; gap: 12px; }
@media (min-width: 800px) { .bu-job-grid, .bu-news-grid { grid-template-columns: 1fr 1fr; } }
.bu-job-card, .bu-news-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.bu-split-wide { display: grid; gap: 28px; }
@media (min-width: 900px) { .bu-split-wide { grid-template-columns: 1fr 1fr; align-items: center; } }
.bu-free-go { color: #fff; font-weight: 800; background: #2563eb; border-radius: 999px; padding: 4px 12px; text-decoration: none; }
.bu-board-list { height: auto !important; padding: 16px 0 96px; }
.bu-foot { max-width: none; padding: 40px 28px 110px; }
.bu-foot-grid { max-width: none; margin: 0; }
.bu-fx { pointer-events: none; }
#bu-fx { display: none !important; }
.bu-hero-full .bu-fx-hero { position: absolute; inset: 0; z-index: 0; opacity: .35; }
.bu-detail { animation: bu-pop .32s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 960px) {
  .bu-header { grid-template-columns: auto minmax(0, 1fr) auto; }
  .bu-tabs { width: 100%; border-radius: 14px; }
}
.bu-page > * { max-width: 920px; margin-left: auto; margin-right: auto; }
.bu-page.bu-post-page > * { max-width: 1100px; }
input[type="date"] { color-scheme: light; }
input[type="date"]:invalid { color: #94a3b8; }

.bu-hero-full {
  background: var(--bu-hero-img) center/cover no-repeat;
}
.bu-hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(244,246,251,.94) 0%, rgba(244,246,251,.78) 46%, rgba(244,246,251,.28) 100%);
}
.bu-hero-full .bu-fx-hero { z-index: 1; }
.bu-hero-inner { z-index: 2; }
.bu-steps-cards {
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .bu-steps-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .bu-steps-cards li { grid-template-columns: 1fr; text-align: left; min-height: 100%; }
}
.bu-filter-preview {
  display: grid; gap: 10px; margin-top: 22px;
}
@media (min-width: 700px) { .bu-filter-preview { grid-template-columns: 1fr 1fr 1fr; } }
.bu-filter-preview div {
  background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
}
.bu-filter-preview small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bu-job-card, .bu-news-card { box-shadow: 0 10px 30px rgba(15,23,42,.04); }
.bu-tile { transition: transform .15s ease, box-shadow .15s ease; }
.bu-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(15,23,42,.08); }

.bu-select, select {
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2364748b' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px !important;
}
select[multiple], select[hidden] { background-image: none; }

.bu-board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.bu-board-head h1 { margin: 0; }
.bu-filter-top { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
@media (max-width: 720px) { .bu-filter-top { grid-template-columns: 1fr 1fr; } }
.bu-filter-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bu-chip-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bu-filter-top .bu-loc-mini { min-width: min(100%, 180px); flex: 1; }
.bu-report-line { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.bu-loc-mini { font-size: 11px; font-weight: 800; color: var(--muted); display: grid; gap: 4px; }
.bu-sort-mini { font-size: 11px; font-weight: 800; color: var(--muted); display: grid; gap: 4px; }
.bu-support { z-index: 20; bottom: 18px; }
@media (max-width: 1023px) {
  .bu-support { bottom: 72px; }
}
.bu-support-fab { letter-spacing: .04em; }
.bu-filters-box { position: sticky; top: 0; z-index: 4; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.bu-lane { padding: 10px; gap: 8px; }
.bu-lane-row { grid-template-columns: 1fr; }
.bu-range { display: grid; gap: 4px; }
.bu-range span { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; color: var(--muted); }
.bu-range output { color: var(--fg); font-variant-numeric: tabular-nums; }
.bu-range input[type="range"],
.bu-lane input[type="range"] {
  width: 100%; height: 28px !important; padding: 0; border: 0; background: transparent; accent-color: #2563eb;
}
.bu-lane-unload input[type="range"] { accent-color: #16a34a; }
.bu-veh-row { margin: 10px 0 4px; }
.bu-veh-row .bu-hint { margin: 0 0 6px; }
.bu-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.bu-map-note { margin: 0; font-size: 12px; color: var(--muted); }
@media (min-width: 1024px) {
  .bu-list { width: min(38%, 400px); }
  .bu-map-wrap { left: min(38%, 400px); }
}

.bu-page.bu-dash-page {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  width: 100%;
  min-height: calc(100dvh - 90px);
}
.bu-welcome-banner {
  grid-column: 1 / -1;
  margin: 12px 16px 0;
  padding: 14px 44px 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #eff6ff);
  border: 1px solid #86efac;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.45;
  position: relative;
}
.bu-welcome-x {
  position: absolute; top: 8px; right: 10px;
  border: 0; background: transparent; font-size: 22px; line-height: 1;
  cursor: pointer; color: #64748b; padding: 4px 8px;
}
.bu-page.bu-dash-page > * { max-width: none; margin: 0; }
.bu-dash-nav {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 16px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bu-dash-who { display: flex; gap: 10px; align-items: center; padding: 8px 8px 14px; }
.bu-dash-who strong { display: block; font-size: 14px; }
.bu-dash-who small { color: var(--muted); font-weight: 700; }
.bu-dash-label {
  margin: 12px 8px 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.bu-dash-nav a, .bu-dash-nav > button {
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 800;
  color: var(--fg);
  cursor: pointer;
}
.bu-dash-nav a.is-on, .bu-dash-nav a:hover, .bu-dash-nav > button:hover {
  background: #eff6ff;
  color: #1d4ed8;
}
.bu-dash-out { margin-top: auto; padding: 12px 8px 0; }
.bu-dash-main { padding: 24px 24px 96px; min-width: 0; }
.bu-dash-hero {
  display: grid; gap: 16px;
  background: linear-gradient(135deg, #eff6ff, #fff 55%);
  border: 1px solid #dbeafe;
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 16px;
}
@media (min-width: 800px) { .bu-dash-hero { grid-template-columns: 1fr auto; align-items: center; } }
.bu-presence-row { display: flex; gap: 8px; }
.bu-dash-markets { margin: 8px 0 16px; }
.bu-tools { display: grid; gap: 10px; }
.bu-tool {
  display: grid; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px;
}
.bu-tool.is-off { opacity: .62; }
.bu-tool-kind { font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bu-tool p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.bu-tool-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bu-tool-state { font-size: 12px; font-weight: 800; }
.bu-tool.is-on .bu-tool-state { color: #15803d; }
.bu-tool.is-off .bu-tool-state { color: #64748b; }
@media (min-width: 800px) {
  .bu-tool { grid-template-columns: 1fr auto; align-items: center; }
}
.bu-reg-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .bu-reg-grid { grid-template-columns: 1fr 1fr; } }
.bu-pills-static { display: flex; flex-wrap: wrap; gap: 8px; }
.bu-pills-static .bu-check { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }

@media (max-width: 899px) {
  .bu-page.bu-dash-page { grid-template-columns: 1fr; }
  .bu-dash-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding: 10px 12px;
    align-items: center;
  }
  .bu-dash-who { padding: 0 8px 0 0; flex: 0 0 auto; }
  .bu-dash-label, .bu-dash-out { display: none; }
  .bu-dash-nav a, .bu-dash-nav > button { width: auto; white-space: nowrap; }
  .bu-dash-main { padding: 16px 16px 110px; }
  .bu-filters-box { position: static; }
  .bu-lane-grid { grid-template-columns: 1fr; }
}

.bu-loc input { font-size: 15px; }
.bu-date-field { display: grid; }
.bu-date-btn {
  width: 100%; text-align: left; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; padding: 8px 12px; cursor: pointer; display: grid; gap: 2px;
}
.bu-date-btn span { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.bu-date-btn strong { font-size: 14px; }
.bu-cal {
  position: absolute; z-index: 80; width: 296px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; padding: 12px;
  box-shadow: 0 18px 50px rgba(15,23,42,.18);
}
.bu-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bu-cal-head button { border: 0; background: #f1f5f9; width: 32px; height: 32px; border-radius: 8px; font-size: 18px; cursor: pointer; }
.bu-cal-dow, .bu-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bu-cal-dow span { font-size: 10px; font-weight: 800; color: var(--muted); padding: 4px 0; }
.bu-cal-day {
  border: 0; background: transparent; height: 34px; border-radius: 10px; font-weight: 700; cursor: pointer;
}
.bu-cal-day.is-today { box-shadow: inset 0 0 0 1.5px #93c5fd; }
.bu-cal-day.is-on { background: #2563eb; color: #fff; }
.bu-cal-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
.bu-tabs-bar { display: flex; gap: 8px; align-items: stretch; margin: 10px 0 8px; }
.bu-tabs-scroll { display: flex; gap: 6px; overflow-x: auto; flex: 1; padding-bottom: 2px; }
.bu-stab, .bu-tab {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: #fff; border-radius: 14px;
  padding: 8px 12px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.bu-stab.is-on, .bu-tab.is-on { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.bu-stab.watch, .bu-tab.watch { box-shadow: 0 0 0 2px #fbbf24; }
.bu-tab-route { display: inline-flex; gap: 6px; align-items: center; }
.bu-tab-route i { font-style: normal; opacity: .7; }
.bu-tab-live { font-size: 10px; font-style: normal; background: #fbbf24; color: #78350f; border-radius: 99px; padding: 1px 6px; }
.bu-tab-add {
  border: 1px dashed #93c5fd; background: #eff6ff; color: #1d4ed8; border-radius: 14px;
  padding: 8px 12px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.bu-tog { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; }
.bu-item.compact { padding: 12px 14px; }
.bu-item .bu-from small, .bu-item .bu-to small { color: var(--muted); font-weight: 800; letter-spacing: .04em; }
.bu-note-line { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.bu-geo-list em {
  display: inline-block; font-style: normal; font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: #1d4ed8; background: #eff6ff;
  border-radius: 99px; padding: 1px 6px; width: max-content;
}
.bu-geo-list li { grid-template-columns: auto 1fr; }
.bu-geo-list li strong { grid-column: 2; }
.bu-geo-list li span { grid-column: 2; }
@media (max-width: 700px) {
  .bu-cal { left: 8px !important; right: 8px; width: auto; }
  .bu-tab-add span { display: none; }
}

.bu-tabs { border-radius: 14px; }
.bu-tabs a {
  display: grid; align-content: center; gap: 0;
  white-space: nowrap; line-height: 1.15; padding: 8px 6px;
}
.bu-tabs a strong { font-size: 13px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.bu-tabs a small { display: none !important; }
@media (min-width: 900px) {
  .bu-tabs a small {
    display: none !important;
  }
}
@media (max-width: 700px) {
  .bu-tabs a small { display: none; }
  .bu-tabs a { padding: 8px 4px; }
}
.bu-cc-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.bu-cc-pills .bu-chip { height: 28px; padding: 0 8px; font-size: 11px; }
.bu-chip.is-on { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.bu-lane-status { margin: 0; font-size: 12px; font-weight: 650; color: var(--muted); }
.bu-date-quick { display: flex; flex-wrap: wrap; gap: 4px; }
.bu-fresh {
  margin: 8px 0;
  background: #ecfdf5; border: 1px solid #86efac; border-radius: 12px; padding: 8px;
}
.bu-fresh button {
  width: 100%; border: 0; background: transparent; font: inherit; font-weight: 800; cursor: pointer; color: #166534;
}
.bu-item.is-new {
  box-shadow: 0 0 0 2px #16a34a, 0 8px 24px rgba(22,163,74,.18);
  animation: bu-glow 3s ease;
}
.bu-item.is-new:not(.is-seen) {
  background: linear-gradient(90deg, rgba(34,197,94,.2) 0, rgba(34,197,94,.2) 4px, #f0fdf4 4px, #fff 42%);
  border-color: #16a34a;
}
@keyframes bu-glow {
  0% { box-shadow: 0 0 0 3px #22c55e, 0 0 24px rgba(34,197,94,.45); }
  100% { box-shadow: 0 0 0 1px var(--line); }
}
.bu-tag.bu-tag-new {
  background: #16a34a;
  color: #fff;
  margin-right: 6px;
  margin-left: 0;
}
.bu-card-top { display: flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 800; color: var(--muted); }
.bu-tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px;
  font-size: 10px; font-weight: 900; letter-spacing: .04em; background: #e2e8f0; margin-left: 6px;
}
.bu-tag.ftl { background: #dcfce7; color: #166534; }
.bu-tag.ltl { background: #ffedd5; color: #9a3412; }
.bu-tag.adr { background: #fee2e2; color: #991b1b; }
.bu-tag.live { background: #dcfce7; color: #15803d; }
.bu-when { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 6px 0 0; font-size: 12px; font-weight: 700; }
.bu-specs { margin: 6px 0 0; font-size: 13px; }
.bu-firm, .bu-price-line, .bu-kmline { margin: 6px 0 0; font-size: 13px; }
.bu-eurkm.good { color: #15803d; font-weight: 800; }
.bu-card-actions { display: flex; gap: 8px; margin-top: 8px; }
.bu-return { display: grid; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.leaflet-marker-icon.bu-pin-hot, .bu-pin-hot { transform: scale(1.25); }
.bu-badge.verify { background: #ecfdf5; color: #166534; }
.bu-join-box { background: #fff7ed; border: 1px solid #fdba74; border-radius: 18px; padding: 16px; margin: 12px 0; }
.bu-vat-msg { display: block; margin-top: 4px; color: #b45309; font-weight: 700; }
@media (min-width: 960px) {
  .bu-sale-board { grid-template-columns: 1.1fr .9fr; }
}
#bu-sale-map { min-height: 420px; }

@media (max-width: 899px) {
  .bu-header .hide-sm { display: none !important; }
  .bu-userchip { max-width: 96px; }
}
@media (max-width: 1199px) {
  .bu-more { display: none !important; }
}
.bu-board-bar { overflow: visible; z-index: 12; }
.bu-board-bar .bu-filters-box {
  position: relative; z-index: 14;
  margin: 4px 0 0; padding: 8px 0 0;
  background: #fff; border: 0; box-shadow: none;
}
.bu-filter-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: end;
}
.bu-filter-actions { min-width: 0; }
.bu-filter-actions .bu-chip, .bu-filter-actions .bu-btn { height: 36px; padding: 0 12px; font-size: 12px; }
.bu-livebar {
  display: flex; flex-wrap: nowrap; gap: 10px 14px;
  overflow-x: auto; max-width: 100%;
  margin: 0 0 6px; padding-bottom: 2px;
}
.bu-tabs-bar { margin: 4px 0 6px; min-width: 0; }
body.bu-detail-open .bu-map-hint { display: none !important; }
@media (min-width: 1024px) {
  body.bu-detail-open #bu-detail.bu-detail-modal {
    z-index: 1210 !important;
  }
}
@media (max-width: 900px) {
  .bu-filter-top { grid-template-columns: 1fr 1fr; }
  .bu-filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .bu-detail { z-index: 40; }
  body.bu-detail-open .bu-switch { display: flex; }
}

.bu-home-inner { max-width: 1120px; margin: 0 auto; }
.bu-home-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.bu-home-steps li {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 18px 16px; display: grid; gap: 6px;
}
.bu-home-steps em {
  font-style: normal; font-size: 11px; font-weight: 900;
  letter-spacing: .16em; color: var(--blue);
}
.bu-home-steps strong { font-size: 18px; }
.bu-home-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (min-width: 800px) {
  .bu-home-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.bu-home-markets { display: grid; gap: 12px; }
@media (min-width: 800px) { .bu-home-markets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bu-home-m {
  display: grid; gap: 6px; padding: 20px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  text-decoration: none; min-height: 100%;
}
.bu-home-m span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bu-home-m strong { font-size: 22px; }
.bu-home-m p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.bu-home-m.blue { background: #eff6ff; border-color: #bfdbfe; }
.bu-home-m.green { background: #f0fdf4; border-color: #bbf7d0; }
.bu-home-m:hover { box-shadow: 0 12px 28px rgba(15,23,42,.06); }
.bu-home-split { display: grid; gap: 28px; }
@media (min-width: 800px) { .bu-home-split { grid-template-columns: 1fr 1fr; gap: 40px; } }
.bu-home-list { display: grid; gap: 8px; margin-top: 8px; }
.bu-home-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none;
}
.bu-home-row strong { font-size: 15px; }
.bu-home-row span { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.bu-home-tools { display: grid; gap: 10px; }
@media (min-width: 700px) { .bu-home-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bu-home-tools a {
  display: grid; gap: 4px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none;
}
.bu-home-tools span { color: var(--muted); font-size: 13px; }
.bu-board-head h1 { font-size: 20px !important; }
.bu-switch { margin-bottom: 8px; }
.bu-item .bu-route-line { overflow-wrap: anywhere; }
.bu-detail h2 { overflow-wrap: anywhere; }
.bu-facts li { overflow-wrap: anywhere; }

/* v4.1 — auth shell, lang picker, landing hero */
.bu-auth-v2 { max-width: 480px; margin: 0 auto; }
.bu-auth-gate {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 20px 0 16px; padding: 4px; background: #e2e8f0; border-radius: 16px;
}
.bu-auth-gate-tab {
  border: 0; background: transparent; border-radius: 12px;
  padding: 12px 10px; font-weight: 900; font-size: 14px; cursor: pointer; color: #64748b;
}
.bu-auth-gate-tab.is-on { background: #fff; color: #0f172a; box-shadow: 0 4px 14px rgba(15,23,42,.08); }
.bu-form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 20px; box-shadow: 0 20px 50px rgba(15,23,42,.06);
}
.bu-auth-v2 .bu-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: #334155; margin-bottom: 12px; }
.bu-auth-v2 .bu-form input, .bu-auth-v2 .bu-form select, .bu-auth-v2 .bu-form textarea {
  height: 46px; border-radius: 14px; border: 1px solid #cbd5e1; padding: 0 14px; font: inherit; font-weight: 600;
}
.bu-auth-v2 .bu-form textarea { height: auto; min-height: 88px; padding: 12px 14px; }
.bu-field-hint { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.bu-field-hint.bu-hint-warn, .bu-input-bad { color: #dc2626 !important; border-color: #fca5a5 !important; }
.bu-auth-foot { text-align: center; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--muted); }
.bu-link-btn { border: 0; background: none; color: var(--blue); font-weight: 900; cursor: pointer; text-decoration: underline; }
.bu-auth-nudge { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #334155; text-align: center; }
.bu-role-cards { display: grid; gap: 12px; }
.bu-role-card {
  display: grid; gap: 6px; padding: 18px; border-radius: 20px; border: 2px solid var(--line);
  background: #fff; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s;
}
.bu-role-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(15,23,42,.08); }
.bu-role-card.blue { border-color: #93c5fd; background: linear-gradient(135deg, #eff6ff, #fff); }
.bu-role-card.green { border-color: #86efac; background: linear-gradient(135deg, #f0fdf4, #fff); }
.bu-role-card strong { font-size: 18px; }
.bu-role-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.bu-role-go { font-size: 12px; font-weight: 900; color: var(--blue); margin-top: 4px; }
.bu-role-card.green .bu-role-go { color: var(--green); }
.bu-role-icon { font-size: 28px; line-height: 1; }
.bu-role-switch .bu-auth-tab { display: grid; gap: 4px; justify-items: center; padding: 16px 8px; }
.bu-reg .bu-form-shipper, .bu-reg .bu-form-trucker { border-width: 0; background: transparent; padding: 0; }
.bu-lang-pick { position: relative; }
.bu-lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 800; font-size: 13px; cursor: pointer;
}
.bu-lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 90;
  min-width: 160px; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 16px 40px rgba(15,23,42,.12);
}
.bu-lang-menu form { margin: 0; }
.bu-lang-opt {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 10px 12px; border-radius: 10px; font-weight: 800; cursor: pointer;
}
.bu-lang-opt:hover, .bu-lang-opt.is-on { background: #eff6ff; color: var(--blue); }
.bu-hero-v2 .bu-hero-copy h1 { font-size: clamp(26px, 4.5vw, 48px); line-height: 1.08; font-weight: 900; }
.bu-hero-accent { color: #1d6fd8; display: block; }
.bu-hero-live {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.92);
  border: 1px solid rgba(37,99,235,.15); font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 12px;
}
.bu-live-dot {
  width: 8px; height: 8px; border-radius: 99px; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.25); animation: bu-pulse 2s ease infinite;
}
@keyframes bu-pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
@media (max-width: 699px) {
  .bu-lang-pick { display: none; }
  .bu-auth-v2 { padding-left: 12px; padding-right: 12px; }
}

