/**
 * Phone app chrome — public site at max-width 899px.
 * Last in the enqueue chain so it wins over board/nalog/lista.
 */

.bu-mshell {
  display: none;
}

@media (max-width: 899px) {
  :root {
    --bu-mshell-bar: 48px;
    --bu-mshell-tabs: 44px;
    --bu-mshell-h: calc(var(--bu-mshell-bar) + var(--bu-mshell-tabs) + env(safe-area-inset-top, 0px));
  }

  .bu-mshell {
    display: block;
    position: sticky;
    top: 0;
    z-index: 240;
  }

  .bu-mshell-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: calc(var(--bu-mshell-bar) + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 10px 0;
    background: #0f172a;
    color: #fff;
  }

  .bu-mshell-menu {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-content: center;
    gap: 4px;
    padding: 0;
    cursor: pointer;
  }
  .bu-mshell-menu span {
    display: block;
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }

  .bu-mshell-brand {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
  }
  .bu-mshell-brand img,
  .bu-mshell-brand-img {
    height: 22px !important;
    width: auto !important;
    max-width: 140px;
    object-fit: contain;
    filter: none;
  }

  .bu-mshell-end {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .bu-mshell-ico {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
  }
  .bu-mshell-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    background: #16a34a;
    color: #fff !important;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
  }

  .bu-mshell-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
  }
  .bu-mshell-tabs a {
    min-height: var(--bu-mshell-tabs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    text-decoration: none;
    letter-spacing: -0.01em;
  }
  .bu-mshell-tabs a.is-on {
    color: #1d4ed8;
    box-shadow: inset 0 -2px 0 #1d4ed8;
    background: #f8fafc;
  }

  .bu-mshell-drawer-bg {
    position: fixed;
    inset: 0;
    z-index: 250;
    background: rgba(15, 23, 42, 0.45);
  }
  .bu-mshell-drawer {
    position: fixed;
    z-index: 260;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82vw, 320px);
    padding: calc(12px + env(safe-area-inset-top, 0px)) 8px 24px;
    background: #fff;
    overflow-y: auto;
    box-shadow: 16px 0 40px rgba(15, 23, 42, 0.2);
  }
  .bu-mshell-drawer a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
  }
  .bu-mshell-drawer a.is-strong {
    background: #16a34a;
    color: #fff;
    margin-top: 8px;
    justify-content: center;
  }

  body.bu-mshell-open {
    overflow: hidden;
  }

  /* Kill stacked desktop chrome */
  body.bu-landing-page .bu-header-on-landing,
  body.bu-landing-page .landing-ticker,
  body.bu-landing-page .landing-chrome-sticky,
  body.bu-landing-page .landing-header,
  body.bu-landing-page .landing-sidebar,
  body.bu-landing-page .landing-sidebar-toggle,
  body.bu-landing-page .landing-timeline,
  body.bu-auth-chrome .bu-auth-top,
  body.bu-auth-chrome .landing-header,
  body.bu-board-page .bu-board-header,
  body.bu-nalog-page .bu-board-header,
  body.bu-lista-chrome .bu-board-header,
  body:not(.bu-app-page):not(.bu-board-page) > .bu-board-header {
    display: none !important;
  }

  body.bu-landing-page .landing-shell {
    grid-template-columns: 1fr !important;
  }
  body.bu-landing-sidebar-open .landing-sidebar {
    display: none !important;
  }

  .landing-intro {
    min-height: 0 !important;
  }
  .landing-intro-media {
    max-height: 140px;
    position: relative !important;
  }
  .landing-intro-media .landing-hero-bg {
    height: 140px !important;
  }
  .landing-intro-body {
    display: flex !important;
    flex-direction: column;
    gap: 12px !important;
    padding: 14px 14px 20px !important;
    background: #0f172a;
  }
  .landing-brand-signal,
  .landing-hero-lead,
  .landing-hero-trust {
    display: none !important;
  }
  .landing-hero-v8 .landing-hero-lead {
    display: block !important;
    font-size: 14px;
    margin: 0 0 12px;
  }
  .landing-hero-v8-body {
    padding: 16px 14px 24px !important;
    gap: 14px !important;
  }
  .landing-hero-v8 .landing-intro-copy h1 {
    font-size: 1.55rem !important;
    max-width: none;
  }
  .landing-hero-v8-prices {
    gap: 6px;
  }
  .landing-hero-v8-prices li {
    font-size: 11px;
    padding: 6px 10px;
  }
  .landing-hero-v8-search {
    grid-template-columns: 1fr !important;
  }
  .landing-hero-v8-roles {
    grid-template-columns: 1fr;
  }
  .landing-intro-copy h1 {
    font-size: 1.45rem !important;
    max-width: none !important;
    margin: 0 0 10px !important;
  }
  .landing-hero-cta {
    display: grid;
    gap: 8px;
  }
  .landing-hero-cta a {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }
  .landing-intro-entry,
  .landing-intro-apps {
    margin: 0;
  }
  .landing-entry-grid-compact {
    grid-template-columns: 1fr !important;
  }
  .landing-app-split {
    grid-template-columns: 1fr 1fr !important;
  }

  .bu-mkt-hero,
  .bu-mkt-hero-bleed {
    min-height: 0 !important;
    align-items: stretch;
  }
  .bu-mkt-hero-media {
    position: relative !important;
    height: 120px;
  }
  .bu-mkt-hero-inner {
    padding: 16px 14px 20px !important;
    background: #0f172a;
  }
  .bu-mkt-hero h1 {
    font-size: 1.45rem !important;
  }
  .bu-mkt-lead {
    font-size: 14px;
    margin: 0 0 12px;
  }
  .bu-mkt-cta-row {
    display: grid;
    gap: 8px;
  }
  .bu-mkt-cta-row a {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .bu-mkt-subnav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding: 10px 12px;
    scrollbar-width: none;
  }
  .bu-mkt-subnav::-webkit-scrollbar { display: none; }
  .bu-mkt-subnav a {
    flex-shrink: 0;
    min-height: 36px;
    padding: 0 12px;
  }
  .bu-mkt-section-inner,
  .bu-mkt-pillars,
  .bu-mkt-features,
  .bu-appdl-split,
  .bu-appdl-osgrid {
    grid-template-columns: 1fr !important;
  }
  .bu-appdl {
    padding: 12px 14px 32px !important;
  }
  .bu-appdl-hero h1 {
    font-size: 1.5rem !important;
  }
  .bu-appdl-phone {
    width: 120px;
  }

  body.bu-auth-chrome .bu-reg-shell,
  body.bu-auth-chrome .bu-auth-shell {
    padding: 12px 14px 28px;
  }

  footer.bu-foot {
    padding: 20px 14px 28px;
  }
  .bu-foot-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .landing-footer-cta,
  .landing-hero-v2 {
    min-height: 0 !important;
  }
  .landing-footer-cta-inner {
    padding: 24px 14px !important;
  }

  body.bu-board-page .bu-board-sidebar {
    display: none !important;
  }

  main.bu-page,
  main.bu-mkt,
  main.bu-appdl,
  main.bu-invite-lux {
    padding-left: 0;
    padding-right: 0;
  }

  .bu-appcta-split {
    margin: 12px 12px 20px !important;
    grid-template-columns: 1fr !important;
  }

  /* ——— BOARD: search first, extras folded ——— */
  body.bu-board-page .bu-switch {
    display: none !important;
  }

  body.bu-board-page .bu-board-bar {
    padding: 8px 10px 6px !important;
    background: #f8fafc !important;
  }

  body.bu-board-page .bu-filters-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  body.bu-board-page .bu-alert-bar { order: 1; }
  body.bu-board-page .bu-filter-fold { order: 2; }
  body.bu-board-page .bu-filter-bar { order: 3; }
  body.bu-board-page .bu-minibar { order: 4; display: none !important; }

  body.bu-board-page .bu-fold-compact .bu-tabs-chrome,
  body.bu-board-page.bu-filters-closed .bu-tabs-chrome {
    display: none !important;
  }

  body.bu-board-page.bu-filters-closed .bu-filter-fold,
  body.bu-board-page .bu-filter-fold.bu-fold-compact {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
  }

  body.bu-board-page .bu-fold-compact .bu-lane-row,
  body.bu-board-page .bu-fold-compact .bu-cargo-adv,
  body.bu-board-page .bu-fold-compact .bu-truck-adv,
  body.bu-board-page .bu-fold-compact .bu-lane-status,
  body.bu-board-page .bu-fold-compact .bu-truck-free-when,
  body.bu-board-page .bu-fold-compact .bu-dest-any-btn,
  body.bu-board-page .bu-fold-compact .bu-help-tip,
  body.bu-board-page .bu-fold-compact #f-reset,
  body.bu-board-page.bu-filters-closed .bu-lane-row,
  body.bu-board-page.bu-filters-closed .bu-cargo-adv,
  body.bu-board-page.bu-filters-closed .bu-truck-adv,
  body.bu-board-page.bu-filters-closed .bu-lane-status,
  body.bu-board-page.bu-filters-closed .bu-truck-free-when,
  body.bu-board-page.bu-filters-closed .bu-dest-any-btn,
  body.bu-board-page.bu-filters-closed .bu-help-tip,
  body.bu-board-page.bu-filters-closed #f-reset {
    display: none !important;
  }

  body.bu-board-page .bu-fold-compact .bu-lane-head,
  body.bu-board-page.bu-filters-closed .bu-lane-head {
    margin-bottom: 4px;
  }
  body.bu-board-page .bu-fold-compact .bu-lane,
  body.bu-board-page.bu-filters-closed .bu-lane {
    padding: 8px 10px;
  }

  body.bu-board-page .bu-alert-bar {
    min-height: 44px !important;
    padding: 8px 10px !important;
    border-radius: 12px;
  }
  body.bu-board-page .bu-alert-hint {
    display: none !important;
  }

  body.bu-board-page .bu-filter-bar {
    min-height: 40px !important;
    padding: 8px 12px !important;
    border-radius: 12px;
  }
  body.bu-board-page .bu-filter-bar-hint {
    display: none !important;
  }

  body.bu-board-page .bu-search-row {
    position: static !important;
    grid-template-columns: 1fr !important;
    padding: 8px 0 0 !important;
    background: none !important;
  }
  body.bu-board-page #f-go {
    min-height: 48px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    border-radius: 14px !important;
  }

  body.bu-board-page .bu-guestbar-pro {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    margin: 0 0 8px;
    border-radius: 12px;
  }
  body.bu-board-page .bu-guestbar-copy span {
    display: none;
  }
  body.bu-board-page .bu-guestbar-copy strong {
    font-size: 12px;
  }

  body.bu-board-page .bu-cols-head {
    display: none !important;
  }

  body.bu-board-page .bu-list-head {
    padding: 6px 4px 8px;
  }
  body.bu-board-page .bu-list-toolbar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.bu-board-page .bu-list-toolbar::-webkit-scrollbar { display: none; }

  /* App cards: route first, then facts */
  body.bu-board-page .bu-feed {
    padding: 6px 10px calc(var(--bu-appbar-h, 64px) + 16px + env(safe-area-inset-bottom, 0px)) !important;
    background: #f1f5f9;
  }
  body.bu-board-page .bu-feed .bu-item.bu-row.compact,
  body.bu-board-page .bu-feed .bu-item.compact {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px 10px !important;
    margin: 0 0 8px !important;
    padding: 12px 12px 10px !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    min-height: 0 !important;
  }
  body.bu-board-page .bu-feed .bu-c {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    justify-content: flex-start !important;
    text-align: left !important;
    align-items: flex-start !important;
    flex-direction: column;
  }
  body.bu-board-page .bu-feed .bu-c-from {
    grid-column: 1 / -1;
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #15803d !important;
    line-height: 1.25;
  }
  body.bu-board-page .bu-feed .bu-c-to {
    grid-column: 1 / -1;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #b91c1c !important;
    line-height: 1.25;
  }
  body.bu-board-page .bu-feed .bu-c-from::before,
  body.bu-board-page .bu-feed .bu-c-to::before {
    content: attr(data-lab);
    display: block;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 2px;
  }
  body.bu-board-page .bu-feed .bu-c-veh { grid-column: 1; font-size: 12px; color: #334155; }
  body.bu-board-page .bu-feed .bu-c-w { grid-column: 2; font-size: 12px; font-weight: 800; }
  body.bu-board-page .bu-feed .bu-c-date { grid-column: 1; font-size: 12px; color: #64748b; }
  body.bu-board-page .bu-feed .bu-c-price {
    grid-column: 2;
    align-items: flex-end !important;
    text-align: right !important;
  }
  body.bu-board-page .bu-feed .bu-c-price strong {
    font-size: 16px !important;
    color: #1d4ed8 !important;
  }
  body.bu-board-page .bu-feed .bu-c-eurkm {
    grid-column: 1 / -1;
    font-size: 12px;
    color: #0f766e;
  }

  /* Bottom dock: Lista | Mapa | Objavi | BU | Alati */
  body.bu-board-page .bu-appbar,
  body.bu-board-page.bu-term .bu-appbar {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1.35fr 1fr 1fr !important;
    align-items: end;
    gap: 2px;
    height: auto !important;
    min-height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 230 !important;
    background: rgba(255, 255, 255, 0.97) !important;
  }
  body.bu-board-page .bu-appbar-dispo,
  body.bu-board-page.bu-term .bu-appbar-dispo {
    display: inline-flex !important;
  }
  body.bu-board-page .bu-appbar-a,
  body.bu-board-page .bu-appbar-t,
  body.bu-board-page .bu-appbar-dispo {
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    height: auto !important;
    min-height: 44px;
    padding: 4px 2px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 800;
    color: #64748b !important;
  }
  body.bu-board-page .bu-appbar-a.is-on,
  body.bu-board-page .bu-appbar-dispo.is-on {
    color: #1d4ed8 !important;
  }
  body.bu-board-page .bu-appbar-a span,
  body.bu-board-page .bu-appbar-t span {
    font-size: 16px;
    line-height: 1;
  }
  body.bu-board-page .bu-appbar-lab {
    font-style: normal;
    font-size: 10px;
  }
  body.bu-board-page .bu-appbar-pub {
    min-height: 44px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    justify-self: center;
    align-self: center;
  }
  body.bu-board-page .bu-appbar-tools {
    justify-self: stretch;
  }
  body.bu-board-page .bu-appbar-tools .bu-appbar-t {
    width: 100%;
  }

  body.bu-board-page .bu-mobile-fab-pub,
  body.bu-board-page .bu-mobile-fab-chat,
  body.bu-board-page .bu-mobile-fab-ai {
    display: none !important;
  }
  body.bu-board-page .bu-mobile-fab-stack {
    bottom: calc(var(--bu-appbar-h, 64px) + 8px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.bu-board-page .bu-board-body {
    padding-bottom: calc(var(--bu-appbar-h, 64px) + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* ——— LISTA ——— */
  body.bu-lista-chrome .bu-lista-kicker,
  body.bu-lista-chrome .bu-lista-lead,
  body.bu-lista-chrome .bu-lista-hero h1,
  body.bu-lista-chrome .bu-lista-meta,
  body.bu-lista-chrome .bu-lista-hero .bu-help-tip {
    display: none !important;
  }
  body.bu-lista-chrome .bu-lista-hero {
    padding: 8px 0 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  body.bu-lista-chrome .bu-lista-hero-top {
    display: none !important;
  }
  body.bu-lista-chrome .bu-lista-wrap {
    padding: 8px 10px 28px !important;
  }
  body.bu-lista-chrome .bu-lista-tabs {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0 0 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none !important;
  }
  body.bu-lista-chrome .bu-lista-tabs::-webkit-scrollbar { display: none; }
  body.bu-lista-chrome .bu-lista-tab {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 0;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f1f5f9;
  }
  body.bu-lista-chrome .bu-lista-tab span {
    display: none;
  }
  body.bu-lista-chrome .bu-lista-tab strong {
    font-size: 13px;
  }
  body.bu-lista-chrome .bu-lista-tab.is-on {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
  }
  body.bu-lista-chrome .bu-lista-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  body.bu-lista-chrome .bu-lista-filters select {
    min-height: 44px;
  }
  body.bu-lista-chrome .bu-firm-card,
  body.bu-lista-chrome .bu-sale-card,
  body.bu-lista-chrome .bu-job-card {
    border-radius: 16px;
    padding: 12px;
  }
  body.bu-lista-chrome .bu-firm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  body.bu-lista-chrome .bu-firm-actions .bu-btn {
    min-height: 44px;
    justify-content: center;
  }

  /* ——— NALOG ——— */
  body.bu-nalog-page .bu-dash-nav {
    display: none !important;
  }
  body.bu-nalog-page .bu-dash-main {
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 8px 12px 28px !important;
  }
  body.bu-nalog-page .bu-nalog-tabs-mobile {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    bottom: auto !important;
    z-index: 20;
    margin: 0 -12px 12px;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    border-top: 0;
    box-shadow: none;
  }
  body.bu-nalog-page .bu-nalog-tab {
    min-height: 38px;
    font-size: 12px;
  }
  body.bu-nalog-page .bu-nalog-tab-pub {
    background: #16a34a !important;
    color: #fff !important;
  }
  body.bu-nalog-page .bu-dash-hero-v2 {
    display: grid;
    gap: 12px;
    padding: 4px 0 8px;
  }
  body.bu-nalog-page .bu-dash-hero .bu-kicker {
    display: none;
  }
  body.bu-nalog-page .bu-dash-hero h1 {
    font-size: 1.35rem;
    margin: 0;
  }
  body.bu-nalog-page .bu-dash-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  body.bu-nalog-page .bu-dash-hero-actions .bu-btn {
    min-height: 44px;
    justify-content: center;
  }
  body.bu-nalog-page .bu-dash-hero-actions .bu-btn.blue {
    grid-column: 1 / -1;
  }
  body.bu-nalog-page .bu-dash-stats-v2 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  body.bu-nalog-page .bu-stat-card {
    padding: 12px;
    border-radius: 14px;
  }
  body.bu-nalog-page .bu-dash-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  body.bu-nalog-page .bu-dash-tile {
    min-height: 72px;
    padding: 12px;
    border-radius: 14px;
  }
  body.bu-nalog-page .bu-welcome-banner {
    font-size: 13px;
    padding: 10px 12px;
  }
}

@media (min-width: 900px) {
  .bu-mshell {
    display: none !important;
  }
}

/* 7.7.7 — software density on every used phone surface */
@media (max-width: 899px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body.bu-board-page,
  body.bu-nalog-page,
  body.bu-lista-chrome,
  body.bu-auth-chrome {
    background: #f1f5f9;
  }

  body.bu-auth-chrome .bu-foot,
  body.bu-post-page .bu-foot {
    display: none !important;
  }

  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
  select,
  textarea,
  .bu-geo,
  .bu-place-q,
  .bu-date-btn,
  .bu-team-search,
  .bu-lista-search input {
    font-size: 16px !important;
    min-height: 44px;
    border-radius: 12px !important;
  }
  textarea {
    min-height: 96px;
  }

  .bu-geo-list {
    z-index: 80;
    max-height: min(42dvh, 280px);
    border-radius: 14px;
    padding: 6px;
  }
  .bu-geo-list li {
    min-height: 48px;
    align-content: center;
    padding: 10px 12px;
  }

  /* Board search chrome */
  body.bu-board-page .bu-board-bar {
    padding: 8px 10px 8px !important;
    gap: 8px;
    display: flex;
    flex-direction: column;
  }
  body.bu-board-page .bu-lanes {
    display: grid;
    gap: 8px;
  }
  body.bu-board-page .bu-lane {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px !important;
  }
  body.bu-board-page .bu-lane-head {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 6px;
  }
  body.bu-board-page .bu-geo {
    height: 48px !important;
    min-height: 48px;
  }
  body.bu-board-page .bu-alert-bar,
  body.bu-board-page .bu-filter-bar {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
  }
  body.bu-board-page .bu-veh-pills-row,
  body.bu-board-page .bu-chips {
    gap: 6px;
  }
  body.bu-board-page .bu-veh-pill span,
  body.bu-board-page .bu-chips button {
    min-height: 36px;
  }
  body.bu-board-page .bu-list-sort-drop,
  body.bu-board-page .bu-veh-drop-btn,
  body.bu-board-page .bu-live-now {
    min-height: 40px;
    border-radius: 12px;
    background: #fff;
  }
  body.bu-board-page .bu-feed .bu-item.compact {
    gap: 8px 10px !important;
  }

  /* Compose / Objavi */
  body.bu-nalog-compose-page .bu-nalog-tabs-mobile {
    display: none !important;
  }
  body.bu-nalog-compose-page .bu-compose-head {
    align-items: center;
    margin: 0 0 10px;
    gap: 8px;
  }
  body.bu-nalog-compose-page .bu-compose-head .bu-kicker,
  body.bu-nalog-compose-page .bu-compose-head .bu-sub,
  body.bu-nalog-compose-page .bu-compose-step-head p,
  body.bu-nalog-compose-page .bu-place-smart-hint,
  body.bu-nalog-compose-page .bu-place-legend-req,
  body.bu-post-page .bu-place-smart-hint,
  body.bu-post-page .bu-kicker,
  body.bu-post-page > .bu-sub {
    display: none !important;
  }
  body.bu-nalog-compose-page .bu-compose-head h2,
  body.bu-nalog-compose-page .bu-compose-truck h2 {
    font-size: 1.15rem;
    margin: 0;
  }
  body.bu-nalog-compose-page .bu-post-layout-nalog,
  body.bu-post-page .bu-post-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  body.bu-nalog-compose-page .bu-post-map-card,
  body.bu-post-page .bu-post-map-card {
    order: -1;
    position: sticky;
    top: 0;
    z-index: 12;
    margin: 0;
    padding: 10px !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0;
    background: #fff;
  }
  body.bu-nalog-compose-page .bu-post-map,
  body.bu-post-page .bu-post-map {
    height: 168px !important;
    min-height: 168px !important;
    border-radius: 12px !important;
  }
  body.bu-nalog-compose-page .bu-post-map-card .bu-kicker,
  body.bu-nalog-compose-page .bu-post-map-card .bu-sub {
    display: none !important;
  }
  body.bu-nalog-compose-page .bu-post-map-status {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 0 0 8px;
  }
  body.bu-nalog-compose-page .bu-post-map-status span {
    min-height: 32px;
    font-size: 11px;
    padding: 0 8px;
  }
  body.bu-nalog-compose-page .bu-compose-steps {
    gap: 10px;
  }
  body.bu-nalog-compose-page .bu-compose-step {
    padding: 12px;
    border-radius: 14px;
    box-shadow: none;
  }
  body.bu-nalog-compose-page .bu-compose-step-head {
    margin-bottom: 8px;
    gap: 8px;
  }
  body.bu-nalog-compose-page .bu-place,
  body.bu-post-page .bu-place {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  body.bu-nalog-compose-page .bu-place-tools-inline,
  body.bu-post-page .bu-place-tools-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  body.bu-nalog-compose-page .bu-place-tools-inline .bu-btn,
  body.bu-post-page .bu-place-tools-inline .bu-btn {
    min-height: 44px;
    justify-content: center;
    font-size: 13px !important;
    font-weight: 800;
  }
  body.bu-nalog-compose-page .bu-date-btn,
  body.bu-post-page .bu-date-btn {
    width: 100%;
    min-height: 48px;
    text-align: left;
  }
  body.bu-nalog-compose-page .bu-place-grid,
  body.bu-post-page .bu-place-grid,
  body.bu-nalog-compose-page .bu-form-grid,
  body.bu-nalog-page .bu-form-grid {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  body.bu-nalog-compose-page .bu-compose-channels {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
  }
  body.bu-nalog-compose-page .bu-compose-ch {
    min-height: 56px;
    padding: 8px;
    border-radius: 12px;
  }
  body.bu-nalog-compose-page .bu-form,
  body.bu-post-page .bu-form {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    margin: 0;
  }
  body.bu-nalog-compose-page .bu-dash-main {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .bu-compose-submit {
    position: sticky;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 16;
    width: 100%;
    min-height: 52px !important;
    margin-top: 12px;
    border-radius: 14px !important;
    box-shadow: 0 8px 28px rgba(29, 111, 216, 0.28);
  }

  .bu-post-confirm {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  .bu-post-confirm-sheet {
    width: 100% !important;
    max-width: none !important;
    max-height: 92dvh !important;
    border-radius: 18px 18px 0 0 !important;
  }
  .bu-post-confirm-head,
  .bu-post-confirm-foot {
    padding: 12px 14px;
  }
  .bu-post-confirm-head h2 {
    font-size: 16px;
    margin: 0;
  }
  .bu-post-confirm-foot {
    display: grid !important;
    grid-template-columns: 1fr 1.5fr;
    gap: 8px;
  }
  .bu-post-confirm-foot .bu-btn {
    min-height: 48px;
    width: 100%;
    justify-content: center;
  }
  .bu-post-confirm-map {
    min-height: 140px !important;
    height: 140px;
  }
  .bu-dpro-confirm {
    font-size: 14px;
  }

  body.bu-detail-open .bu-detail-modal {
    padding: 0;
    align-items: flex-end;
  }
  body.bu-detail-open .bu-detail-modal-sheet {
    width: 100%;
    max-height: 92dvh;
    border-radius: 18px 18px 0 0;
  }

  /* Nalog home / settings / listings */
  body.bu-nalog-page .bu-page.bu-dash-page {
    display: block !important;
    grid-template-columns: 1fr !important;
    height: auto !important;
    overflow: visible !important;
  }
  body.bu-nalog-page .bu-account-head {
    gap: 8px;
    margin-bottom: 12px;
  }
  body.bu-nalog-page .bu-account-head h2 {
    font-size: 1.2rem;
  }
  body.bu-nalog-page .bu-account-head .bu-sub {
    font-size: 13px;
    margin: 4px 0 0;
  }
  body.bu-nalog-page .bu-account-head .bu-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
  body.bu-nalog-page .bu-form-card,
  body.bu-nalog-page .bu-account-panel .bu-form,
  body.bu-nalog-page .bu-locked-firm {
    padding: 12px;
    border-radius: 14px;
  }
  body.bu-nalog-page .bu-form-settings label,
  body.bu-nalog-page .bu-account-panel label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
  }
  body.bu-nalog-page .bu-pills-static {
    gap: 8px;
  }
  body.bu-nalog-page .bu-pills-static .bu-check {
    min-height: 40px;
  }
  body.bu-nalog-page .bu-listings-head {
    display: none;
  }
  body.bu-nalog-page .bu-listings-table {
    border: 0;
    background: transparent;
    overflow: visible;
  }
  body.bu-nalog-page .bu-listings-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
  }
  body.bu-nalog-page .bu-listings-main {
    grid-column: 1;
  }
  body.bu-nalog-page .bu-listings-row .bu-badge {
    grid-column: 2;
    align-self: start;
  }
  body.bu-nalog-page .bu-listings-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  body.bu-nalog-page .bu-listings-actions .bu-btn,
  body.bu-nalog-page .bu-listings-actions form,
  body.bu-nalog-page .bu-listings-actions form .bu-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
  body.bu-nalog-page .bu-empty-state {
    padding: 28px 16px;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    border: 1px dashed #cbd5e1;
  }
  body.bu-nalog-page .bu-empty-state .bu-btn {
    min-height: 48px;
    width: 100%;
    justify-content: center;
  }
  body.bu-nalog-page .bu-dash-panel {
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
  }
  body.bu-nalog-page .bu-dash-grid {
    display: grid;
    gap: 10px;
  }

  /* Lista */
  body.bu-lista-chrome .bu-lista-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
  }
  body.bu-lista-chrome .bu-lista-search input {
    border: 0 !important;
    min-height: 46px;
    box-shadow: none !important;
  }
  body.bu-lista-chrome .bu-lista-filters .bu-btn {
    min-height: 48px;
    width: 100%;
    justify-content: center;
  }
  body.bu-lista-chrome .bu-lista-cards {
    display: grid;
    gap: 8px;
  }

  /* Auth */
  body.bu-auth-chrome .bu-page {
    padding: 12px 14px 32px !important;
    max-width: none;
  }
  body.bu-auth-chrome h1 {
    font-size: 1.45rem;
    margin: 4px 0 8px;
  }
  body.bu-auth-chrome .bu-form-card {
    padding: 14px !important;
    border-radius: 16px;
  }
  body.bu-auth-chrome .bu-auth-gate {
    margin: 12px 0;
  }
  body.bu-auth-chrome .bu-btn {
    min-height: 48px;
    width: 100%;
    justify-content: center;
  }

  /* Chat / sheets */
  .bu-chat-panel,
  .bu-post-panel {
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }
  #bu-post .bu-tile-pro {
    min-height: 72px;
    padding: 12px;
  }

  .bu-veh-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .bu-veh-pill span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
  }
}

