/* V49 — Utovari workspace perfection pass
 * Map window + layer controls, solid AI/message rail, blue textured chrome,
 * left-side sidebar scrollbar and tighter filter geometry.
 */
html body.bu-board-page{
  --v49-blue:#0b5b91;
  --v49-blue-2:#123f69;
  --v49-blue-3:#0a3154;
  --v49-green:#12a56f;
  --v49-red:#e5545d;
  --v49-line:#d9e5ef;
  --v49-ink:#173b58;
  --v49-muted:#71879a;
}

/* ── Header: solid blue application chrome with a subtle technical texture ── */
@media (min-width:1200px){
  html body.bu-board-page .bu-board-header{
    background:linear-gradient(115deg,#0b416d 0%,#0c5d91 42%,#1476a8 72%,#0b4b78 100%)!important;
    border-bottom:1px solid rgba(255,255,255,.15)!important;
    box-shadow:0 8px 24px rgba(4,32,55,.20)!important;
    overflow:hidden!important;
  }
  html body.bu-board-page .bu-board-header::before{
    content:"";position:absolute;inset:0;pointer-events:none;opacity:.24;
    background-image:linear-gradient(135deg,rgba(255,255,255,.10) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.06) 50%,rgba(255,255,255,.06) 75%,transparent 75%);
    background-size:18px 18px;
    mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.2) 70%,transparent);
  }
  html body.bu-board-page .bu-board-header-inner{position:relative;z-index:1!important;background:linear-gradient(90deg,rgba(255,255,255,.05),transparent 55%,rgba(0,0,0,.08))!important;border-bottom:0!important;box-shadow:none!important}
  html body.bu-board-page .bu-board-brand{position:relative!important;align-self:stretch!important;padding:0 20px!important;margin-left:-20px!important;flex-basis:270px!important;width:270px!important;background:linear-gradient(100deg,rgba(8,39,67,.72),rgba(11,92,143,.72))!important;border-right:1px solid rgba(255,255,255,.12)!important;clip-path:polygon(0 0,94% 0,100% 50%,94% 100%,0 100%)!important}
  html body.bu-board-page .bu-board-brand-img{filter:drop-shadow(0 2px 5px rgba(0,0,0,.22))!important}
  html body.bu-board-page .bu-board-header-context{color:#fff!important;min-width:140px!important}
  html body.bu-board-page .bu-board-header-context *{color:inherit!important}
  html body.bu-board-page .bu-board-header-kicker{opacity:.62!important;letter-spacing:.13em!important}
  html body.bu-board-page .bu-board-header-live{color:#bdf6d8!important}
  html body.bu-board-page .bu-board-header-live i{background:#35e89c!important;box-shadow:0 0 0 3px rgba(53,232,156,.14)!important}
  html body.bu-board-page .ut-header-search{background:rgba(2,25,44,.27)!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:inset 0 1px rgba(255,255,255,.07),0 4px 12px rgba(0,0,0,.10)!important;color:#fff!important}
  html body.bu-board-page .ut-header-search input{color:#fff!important}
  html body.bu-board-page .ut-header-search input::placeholder{color:rgba(255,255,255,.62)!important}
  html body.bu-board-page .bu-header-sound,html body.bu-board-page .bu-bell,html body.bu-board-page .bu-board-userchip{background:rgba(3,27,48,.30)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important;box-shadow:inset 0 1px rgba(255,255,255,.07)!important}
  html body.bu-board-page .bu-board-userchip .bu-target-user-copy strong,html body.bu-board-page .bu-board-userchip .bu-target-user-copy small{color:#fff!important}
  html body.bu-board-page .bu-board-sidebar{background:linear-gradient(180deg,#0c4774 0%,#0b365c 44%,#092b49 100%)!important;border-right:1px solid rgba(255,255,255,.10)!important;box-shadow:8px 0 24px rgba(4,29,49,.14)!important}
  /* Chrome/Edge: put the sidebar scrollbar on the visual left. Content stays LTR. */
  html body.bu-board-page .bu-board-sidebar-nav{direction:rtl!important;scrollbar-color:rgba(184,220,241,.42) transparent!important;scrollbar-width:thin!important;padding-left:3px!important}
  html body.bu-board-page .bu-board-sidebar-nav > *{direction:ltr!important}
  html body.bu-board-page .bu-board-sidebar-nav::-webkit-scrollbar{width:7px!important}
  html body.bu-board-page .bu-board-sidebar-nav::-webkit-scrollbar-track{background:transparent!important}
  html body.bu-board-page .bu-board-sidebar-nav::-webkit-scrollbar-thumb{background:rgba(184,220,241,.40)!important;border-radius:99px!important;border:2px solid transparent!important;background-clip:padding-box!important}
  html body.bu-board-page .bu-board-sidebar-nav::-webkit-scrollbar-thumb:hover{background:rgba(224,242,255,.65)!important;background-clip:padding-box!important}
  html body.bu-board-page .bu-board-sidebar-link{color:#d9edfb!important;border:1px solid transparent!important}
  html body.bu-board-page .bu-board-sidebar-link:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
  html body.bu-board-page .bu-board-sidebar-link.is-on{background:linear-gradient(90deg,#0c8c72,#1176b1)!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 5px 15px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.12)!important}
  html body.bu-board-page .bu-board-sidebar-sec span{color:#9dc8e3!important}.bu-board-page .bu-board-sidebar-sec small{color:rgba(211,235,250,.50)!important}
}

/* ── Search tabs: deeper, more deliberate Chrome-like rail ── */
html body.bu-board-page .ut-search-tabs.ut-tabs-smart{background:linear-gradient(180deg,#e7eef4,#dce6ed)!important;border-color:#c8d7e2!important;box-shadow:inset 0 1px #fff,0 5px 14px rgba(29,69,100,.08)!important}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab{border-color:#cbd8e2!important;background:linear-gradient(180deg,#f8fafc,#e8eef3)!important;color:#4b6477!important;box-shadow:0 2px 6px rgba(25,61,90,.08),inset 0 1px #fff!important}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.is-active{background:linear-gradient(180deg,#18b779 0%,#0d9b68 100%)!important;border-color:#087f58!important;color:#fff!important;box-shadow:0 9px 18px rgba(13,142,96,.24),inset 0 1px rgba(255,255,255,.24)!important}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.is-active .ut-search-tab-copy strong,html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.is-active .ut-search-tab-copy small{color:#fff!important}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.has-fresh{background:linear-gradient(180deg,#fffdf1,#fff6d9)!important;border-color:#d7a52a!important;box-shadow:0 0 0 2px rgba(213,157,20,.14),0 8px 18px rgba(157,112,16,.16)!important;animation:v49TabNotice 2.2s ease-in-out infinite!important}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.has-fresh.is-active{background:linear-gradient(180deg,#1ab879,#0e9c68)!important;border-color:#e2ad27!important;box-shadow:0 0 0 2px rgba(226,173,39,.75),0 8px 20px rgba(19,126,87,.22)!important}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.has-fresh.is-active .ut-search-tab-copy strong,html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.has-fresh.is-active .ut-search-tab-copy small{color:#fff!important}
@keyframes v49TabNotice{0%,100%{filter:none}50%{filter:brightness(1.035)}}

/* ── Map: one solid application window; layers live in its header, not on map ── */
html body.bu-board-page .bu-board-map{display:grid!important;grid-template-rows:56px minmax(0,1fr)!important;gap:8px!important;padding:9px 10px 8px!important;background:#f3f7fa!important;border:0!important;overflow:hidden!important}
html body.bu-board-page .bu-map-window-head{grid-row:1!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:7px 10px!important;border:1px solid #d7e4ee!important;border-radius:13px!important;background:linear-gradient(180deg,#fff,#f7fafc)!important;box-shadow:0 4px 13px rgba(32,70,99,.07),inset 0 1px #fff!important}
html body.bu-board-page .bu-map-window-title{min-width:0!important;display:grid!important;gap:2px!important}
html body.bu-board-page .bu-map-window-kicker{display:flex!important;align-items:center!important;gap:6px!important;color:#71899d!important;font-size:7px!important;font-weight:950!important;letter-spacing:.13em!important;text-transform:uppercase!important}
html body.bu-board-page .bu-map-window-kicker i{width:6px!important;height:6px!important;border-radius:50%!important;background:#16ad75!important;box-shadow:0 0 0 3px rgba(22,173,117,.12)!important}
html body.bu-board-page .bu-map-window-title strong{font-size:12px!important;line-height:1.15!important;color:#173c58!important;font-weight:950!important;white-space:nowrap!important}
html body.bu-board-page .bu-map-window-layers{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;flex-wrap:nowrap!important;min-width:0!important}
html body.bu-board-page .bu-map-layer-label{font-size:7px!important;letter-spacing:.09em!important;font-weight:950!important;color:#91a2b0!important;margin-right:2px!important}
html body.bu-board-page .bu-map-leg{height:31px!important;min-width:0!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:0 9px!important;border:1px solid #d9e4ec!important;border-radius:9px!important;background:#f9fbfd!important;color:#597285!important;font-size:8px!important;font-weight:900!important;white-space:nowrap!important;cursor:pointer!important;box-shadow:inset 0 1px #fff!important;transition:.16s ease!important}
html body.bu-board-page .bu-map-leg:hover{transform:translateY(-1px)!important;box-shadow:0 4px 10px rgba(30,70,100,.08)!important}
html body.bu-board-page .bu-map-leg input{width:13px!important;height:13px!important;margin:0!important;accent-color:#14a870!important}
html body.bu-board-page .bu-map-leg-dest input{accent-color:#e5545d!important}.bu-map-leg-fleet input{accent-color:#267cc2!important}
html body.bu-board-page .bu-map-leg-origin:has(input:checked){background:#edf9f4!important;border-color:#a9ddc8!important;color:#087b57!important}.bu-map-leg-dest:has(input:checked){background:#fff1f2!important;border-color:#efc0c5!important;color:#c83f49!important}.bu-map-leg-fleet:has(input:checked){background:#eef6ff!important;border-color:#b6d0ea!important;color:#286da7!important}
html body.bu-board-page .bu-map-viewport{grid-row:2!important;position:relative!important;min-height:0!important;height:100%!important;overflow:hidden!important;border-radius:14px!important;border:1px solid #cddde8!important;background:#dbe6ed!important;box-shadow:0 6px 18px rgba(29,68,98,.09),inset 0 1px rgba(255,255,255,.72)!important}
html body.bu-board-page #bu-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:13px!important;box-shadow:none!important;background:#dbe6ed!important;filter:saturate(.88) contrast(1.01)!important}
html body.bu-board-page .bu-map-tools{display:none!important}
html body.bu-board-page .bu-map-viewport .bu-map-hint{display:none!important}
html body.bu-board-page .bu-map-viewport .bu-route-hud{z-index:800!important;left:12px!important;right:auto!important;bottom:12px!important;max-width:290px!important;border-radius:10px!important}
html body.bu-board-page #bu-map .leaflet-control-zoom{margin:12px!important;border:1px solid rgba(190,207,220,.95)!important;border-radius:10px!important;overflow:hidden!important;box-shadow:0 5px 13px rgba(28,61,87,.15)!important}
html body.bu-board-page #bu-map .leaflet-control-zoom a{width:31px!important;height:31px!important;line-height:31px!important;background:rgba(255,255,255,.94)!important;color:#315b76!important;border:0!important;font-weight:900!important}
html body.bu-board-page #bu-map .leaflet-control-attribution{font-size:7px!important;background:rgba(255,255,255,.78)!important;border-radius:7px 0 0 0!important;padding:2px 5px!important}
html body.bu-board-page #bu-map .leaflet-popup-content-wrapper{border-radius:12px!important;box-shadow:0 9px 22px rgba(20,55,80,.20)!important}
html body.bu-board-page #bu-map .leaflet-popup-tip{box-shadow:none!important}

/* ── AI + messages: same visual plane, no z-index collision ── */
html body.bu-board-page .ut-right-rail{z-index:500!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;gap:8px!important;padding:9px 10px 8px!important;background:linear-gradient(180deg,#eef4f8,#f5f9fc)!important;border-left:1px solid #d6e2eb!important}
html body.bu-board-page .ut-right-rail .bu-dispo{z-index:20!important;grid-row:1!important;height:auto!important;min-height:0!important;border:1px solid #cadbe7!important;border-radius:15px!important;background:#fff!important;box-shadow:0 8px 22px rgba(27,67,96,.09),inset 0 1px #fff!important}
html body.bu-board-page .ut-right-rail .bu-dispo-head{background:linear-gradient(135deg,#f8fcff,#eef7fb)!important;border-bottom:1px solid #dce8ef!important}
html body.bu-board-page .ut-right-rail .bu-dispo-head .bu-kicker{color:#123e60!important}
html body.bu-board-page .ut-right-rail .bu-dispo-live{font-weight:900!important}
html body.bu-board-page .ut-right-rail .bu-dispo-chips{background:#fbfdff!important}
html body.bu-board-page .ut-right-rail .bu-dispo-chip{background:#fff!important;box-shadow:0 2px 6px rgba(25,65,95,.04)!important}
html body.bu-board-page .ut-right-rail .bu-dispo-log{background:linear-gradient(180deg,#f8fbfd,#fff)!important}
html body.bu-board-page .ut-right-rail .bu-bubble-welcome{background:#edf7fb!important;border-color:#d1e3ed!important;color:#365a72!important}
html body.bu-board-page .ut-right-rail .bu-dispo-form{background:#f8fbfd!important;border-top:1px solid #dbe7ee!important}
html body.bu-board-page .ut-right-rail #bu-dispo-input{background:#fff!important;box-shadow:inset 0 1px 2px rgba(24,59,84,.05)!important}
html body.bu-board-page .ut-right-rail .bu-dispo-dock .bu-v12-send{background:linear-gradient(145deg,#17b87d,#0d9665)!important;box-shadow:0 5px 12px rgba(13,150,101,.22)!important}
html body.bu-board-page .ut-ai-message{grid-row:2!important;z-index:600!important;position:relative!important;min-height:55px!important;margin:0!important;padding:0 11px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;border:1px solid #cddde8!important;border-radius:13px!important;background:linear-gradient(180deg,#fff,#f7fafc)!important;color:#173b58!important;text-decoration:none!important;box-shadow:0 5px 14px rgba(29,68,98,.08),inset 0 1px #fff!important;overflow:visible!important}
html body.bu-board-page .ut-ai-message .ut-action-icon{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:#eaf7f2!important;color:#0a9865!important;font-size:15px!important;box-shadow:inset 0 1px rgba(255,255,255,.9)!important}
html body.bu-board-page .ut-ai-message strong{font-size:10px!important;color:#163d5a!important;line-height:1.15!important;font-weight:950!important}
html body.bu-board-page .ut-ai-message small{display:block!important;margin-top:3px!important;font-size:7.5px!important;color:#71889a!important;line-height:1.2!important;white-space:normal!important}
html body.bu-board-page .ut-ai-message>b{align-self:center!important;justify-self:end!important;font-size:9px!important;color:#1982c5!important;white-space:nowrap!important}
html body.bu-board-page .ut-ai-message[data-unread="1"]::after{content:none!important}
html body.bu-board-page .ut-ai-message[data-unread="1"] .ut-action-icon::after{content:attr(data-unread-count)!important}
html body.bu-board-page .ut-ai-message[data-unread="1"]{border-color:#e0b23b!important;box-shadow:0 0 0 2px rgba(224,178,59,.12),0 6px 16px rgba(33,68,95,.09)!important}
html body.bu-board-page .ut-ai-message[data-unread="1"] small{color:#8a671d!important;font-weight:850!important}
html body.bu-board-page .ut-ai-publish{grid-row:3!important;z-index:610!important;margin:0!important;min-height:43px!important;height:43px!important;border-radius:12px!important;box-shadow:0 7px 16px rgba(18,126,183,.18)!important}

/* ── Filter opened: compact, consistent rhythm, no dead space ── */
@media (min-width:1200px){
  html body.bu-board-page #bu-filter-fold.open{padding:13px!important;border-radius:0 0 15px 15px!important;background:linear-gradient(180deg,#f7fafc,#eef4f8)!important;border:1px solid #cbdbe6!important;box-shadow:0 14px 28px rgba(28,67,96,.12)!important}
  html body.bu-board-page #bu-filter-fold.open .bu-filter-sheet-head{height:32px!important;margin:0 0 9px!important;padding:0 3px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border-bottom:1px solid #dce7ee!important}
  html body.bu-board-page #bu-filter-fold.open .bu-filter-sheet-head strong{font-size:10px!important;color:#173e5b!important;font-weight:950!important;letter-spacing:.02em!important}
  html body.bu-board-page #bu-filter-fold.open .bu-filter-sheet-x{width:27px!important;height:27px!important;border-radius:8px!important;background:#fff!important;border:1px solid #d2dfe8!important;color:#637b8c!important;font-weight:950!important;box-shadow:0 2px 7px rgba(24,60,87,.06)!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lanes{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(220px,.72fr) minmax(0,1fr)!important;gap:9px!important;padding:0!important;background:transparent!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lane{min-width:0!important;padding:10px!important;border-radius:11px!important;box-shadow:0 4px 11px rgba(31,72,101,.055),inset 0 1px rgba(255,255,255,.8)!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lane-load{border:1px solid #bfe3d2!important;border-top:3px solid #17ae76!important;background:linear-gradient(180deg,#f0faf6,#fff)!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lane-unload{border:1px solid #eed0d4!important;border-top:3px solid #e6535c!important;background:linear-gradient(180deg,#fff2f3,#fff)!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lane-metrics{border:1px solid #d1e0ea!important;border-top:3px solid #6687a0!important;background:linear-gradient(180deg,#f5f9fc,#fff)!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lane-head{min-height:23px!important;margin-bottom:8px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lane-head>span{font-size:9px!important;font-weight:950!important;letter-spacing:.035em!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lane-load .bu-lane-head>span{color:#0a9563!important}.bu-board-page #bu-filter-fold.open .bu-lane-unload .bu-lane-head>span{color:#d44952!important}.bu-board-page #bu-filter-fold.open .bu-lane-metrics .bu-lane-head>span{color:#45657c!important}
  html body.bu-board-page #bu-filter-fold.open .bu-geo{height:37px!important;border-radius:9px!important;border:1px solid #d4e1e9!important;background:#fff!important;box-shadow:inset 0 1px 2px rgba(27,65,91,.04)!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lane-status{min-height:11px!important;margin:3px 1px!important;font-size:7px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lane-row{gap:7px!important;margin-top:7px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-date-field{min-height:35px!important;height:35px!important;border-radius:8px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-range{padding:0 6px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-metrics-center-body{display:grid!important;grid-template-columns:1.25fr .75fr 1.25fr!important;gap:7px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-metric-inline{min-width:0!important;margin:0!important;padding:7px!important;border:1px solid #dbe6ed!important;border-radius:9px!important;background:#fff!important}
  html body.bu-board-page #bu-filter-fold.open .bu-metric-inline legend{padding:0 4px!important;font-size:7px!important;color:#657d90!important;font-weight:950!important}
  html body.bu-board-page #bu-filter-fold.open .bu-metric-inline-pair{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-metric-inline label{display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:4px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-metric-inline label span{font-size:6px!important;color:#8a9cac!important;font-weight:850!important}
  html body.bu-board-page #bu-filter-fold.open .bu-metric-inline input{height:29px!important;min-width:0!important;width:100%!important;border:1px solid #d9e4eb!important;border-radius:7px!important;font-size:9px!important;padding:0 6px!important;box-sizing:border-box!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lower-deck{margin-top:9px!important;display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;gap:9px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lower-deck-heading{display:none!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-zone,html body.bu-board-page #bu-filter-fold.open .bu-filter-vehicle-panel{min-width:0!important;border:1px solid #d1e0e9!important;border-radius:11px!important;background:#fff!important;box-shadow:0 4px 11px rgba(31,72,101,.045)!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-adv{padding:9px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-adv-kicker{padding:0 0 6px!important;border-bottom:1px solid #e6edf2!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-adv-label strong{font-size:8px!important;color:#315b75!important;font-weight:950!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-adv-label em{font-size:6px!important;color:#8ca0af!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-adv-groups{display:grid!important;grid-template-columns:.85fr 1.1fr auto!important;gap:7px!important;align-items:stretch!important;padding-top:7px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-g{margin:0!important;padding:7px!important;border:1px solid #e0e9ef!important;border-radius:8px!important;min-width:0!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-g legend{font-size:6px!important;color:#7e93a3!important;font-weight:950!important;padding:0 3px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-g-row{gap:5px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-adv-field input{height:28px!important;border-radius:7px!important;border:1px solid #dce6ed!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-adv-field span{font-size:6px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-adv-toggles{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important;padding:6px 0 0!important}
  html body.bu-board-page #bu-filter-fold.open .bu-cargo-req-title{font-size:6px!important;color:#8799a7!important;font-weight:950!important;margin-right:2px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-tog{font-size:7px!important;min-height:25px!important;padding:0 6px!important;border-radius:7px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-filter-vehicle-panel{padding:9px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:7px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-filter-section-title strong{font-size:8px!important;color:#315b75!important;font-weight:950!important}
  html body.bu-board-page #bu-filter-fold.open .bu-filter-section-title small{font-size:6px!important;color:#8ca0af!important}
  html body.bu-board-page #bu-filter-fold.open .bu-filter-vehicle-chips{display:flex!important;gap:5px!important;flex-wrap:wrap!important;align-content:flex-start!important}
  html body.bu-board-page #bu-filter-fold.open .bu-filter-vehicle-chip{min-height:27px!important;padding:0 8px!important;border-radius:8px!important;font-size:7px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-search-row{height:48px!important;min-height:48px!important;margin:9px -13px -13px!important;padding:8px 13px!important;border-top:1px solid #d8e5ec!important;background:rgba(255,255,255,.97)!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;box-shadow:0 -5px 12px rgba(31,69,96,.035)!important}
  html body.bu-board-page #bu-filter-fold.open .bu-search-row #f-reset{height:32px!important;min-width:80px!important;border-radius:8px!important;font-size:8px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-search-row #f-go{height:32px!important;min-width:145px!important;border-radius:8px!important;font-size:8px!important;background:linear-gradient(180deg,#176f9f,#0f527b)!important;box-shadow:0 5px 12px rgba(15,82,123,.18)!important}
}
@media (max-width:1199px) and (min-width:700px){
  html body.bu-board-page #bu-filter-fold.open .bu-lanes{grid-template-columns:minmax(0,1fr) minmax(190px,.7fr) minmax(0,1fr)!important;gap:7px!important}
  html body.bu-board-page #bu-filter-fold.open .bu-lower-deck{grid-template-columns:1fr 1fr!important;gap:7px!important}
  html body.bu-board-page .bu-map-window-title strong{font-size:10px!important}.bu-board-page .bu-map-leg{padding:0 6px!important;font-size:7px!important}
}
@media (max-width:699px){
  html body.bu-board-page .bu-map-window-head{height:auto!important;min-height:52px!important;align-items:flex-start!important;flex-direction:column!important;padding:8px!important}
  html body.bu-board-page .bu-map-window-layers{width:100%!important;justify-content:flex-start!important;overflow-x:auto!important;padding-bottom:1px!important}
  html body.bu-board-page .bu-map-layer-label{display:none!important}
  html body.bu-board-page .bu-map-viewport{min-height:300px!important}
  html body.bu-board-page .bu-board-map{grid-template-rows:auto minmax(300px,1fr)!important}
}


/* V50 — notification transition + map viewport hardening */
@keyframes v50TabFreshFlow{
  0%,100%{background:linear-gradient(180deg,#f2fbf7,#e5f7ef);border-color:#83c9ac;box-shadow:0 0 0 1px rgba(18,165,111,.08),0 5px 12px rgba(18,165,111,.10)}
  50%{background:linear-gradient(180deg,#dff8ec,#c9efde);border-color:#39b987;box-shadow:0 0 0 2px rgba(18,165,111,.16),0 8px 18px rgba(18,165,111,.16)}
}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.has-fresh:not(.is-active){
  background:linear-gradient(180deg,#f0faf6,#e4f6ee)!important;
  border-color:#79c5a5!important;
  color:#126b4e!important;
  box-shadow:0 0 0 1px rgba(18,165,111,.10),0 5px 13px rgba(18,165,111,.11),inset 0 1px #fff!important;
  animation:v50TabFreshFlow 2.8s ease-in-out infinite!important;
  transition:background .7s ease,border-color .7s ease,box-shadow .7s ease,color .7s ease!important;
}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.has-fresh:not(.is-active) .ut-search-tab-copy strong{color:#11664b!important}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.has-fresh:not(.is-active) .ut-search-tab-copy small{color:#4b806d!important}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.has-fresh:not(.is-active) .ut-search-tab-dot{background:#17ad76!important;box-shadow:0 0 0 3px rgba(23,173,118,.14),0 0 10px rgba(23,173,118,.28)!important}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.has-fresh:not(.is-active) .ut-search-tab-notify{border-color:#d7ad3a!important;color:#9a7214!important;background:#fff9df!important;box-shadow:0 0 0 2px rgba(215,173,58,.10)!important}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.has-fresh:not(.is-active) .ut-search-tab-count{background:#d9a91f!important;color:#fff!important;border-color:#fff!important;box-shadow:0 3px 8px rgba(154,114,20,.22)!important}
html body.bu-board-page .ut-search-tabs.ut-tabs-smart .ut-search-tab.has-fresh.is-active{transition:background .7s ease,border-color .7s ease,box-shadow .7s ease!important}

/* The map is a real application viewport. Do not let legacy absolute-map rules collapse it. */
@media (min-width:1024px){
  html body.bu-board-page .bu-term-grid{
    display:flex!important;
    flex:1 1 auto!important;
    min-height:0!important;
    height:auto!important;
    align-items:stretch!important;
    gap:0!important;
    overflow:hidden!important;
  }
  html body.bu-board-page .bu-board-list{
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  html body.bu-board-page .bu-board-map,
  html body.bu-board-page #bu-map-pane{
    display:grid!important;
    flex:0 0 clamp(330px,30vw,500px)!important;
    width:auto!important;
    min-width:330px!important;
    height:100%!important;
    min-height:0!important;
    grid-template-rows:56px minmax(0,1fr)!important;
    gap:8px!important;
    padding:9px 10px 8px!important;
    margin:0!important;
    position:relative!important;
    align-self:stretch!important;
    overflow:hidden!important;
    background:#f3f7fa!important;
    border-left:1px solid #d5e2eb!important;
    isolation:isolate!important;
    z-index:3!important;
  }
  html body.bu-board-page .bu-map-viewport{
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:260px!important;
    overflow:hidden!important;
    align-self:stretch!important;
    grid-row:2!important;
    background:#dbe6ed!important;
    border:1px solid #cbdbe5!important;
    border-radius:14px!important;
  }
  html body.bu-board-page #bu-map{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    z-index:1!important;
    background:#dbe6ed!important;
    border-radius:13px!important;
    overflow:hidden!important;
  }
  html body.bu-board-page #bu-map .leaflet-pane,
  html body.bu-board-page #bu-map .leaflet-control-container{z-index:1!important}
  html body.bu-board-page #bu-map .leaflet-tile-pane{z-index:200!important}
  html body.bu-board-page #bu-map .leaflet-overlay-pane{z-index:400!important}
  html body.bu-board-page #bu-map .leaflet-marker-pane{z-index:600!important}
  html body.bu-board-page #bu-map .leaflet-popup-pane{z-index:700!important}
}

@media (min-width:700px) and (max-width:1199px){
  html body.bu-board-page .bu-term-grid{display:grid!important;grid-template-columns:minmax(320px,1fr) minmax(320px,38%)!important;grid-template-areas:"list map"!important;gap:0!important;min-height:0!important;height:100%!important;overflow:hidden!important}
  html body.bu-board-page .bu-board-map,html body.bu-board-page #bu-map-pane{display:grid!important;grid-area:map!important;grid-template-rows:56px minmax(0,1fr)!important;gap:8px!important;min-width:0!important;width:auto!important;height:100%!important;min-height:0!important;padding:9px 10px 8px!important;overflow:hidden!important;position:relative!important;background:#f3f7fa!important}
  html body.bu-board-page .bu-map-viewport{min-height:260px!important;height:auto!important;position:relative!important;overflow:hidden!important}
  html body.bu-board-page #bu-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important}
}

/* Never allow the legacy map tools/hint to become a white overlay. */
html body.bu-board-page .bu-map-viewport .bu-map-tools,
html body.bu-board-page .bu-map-viewport .bu-map-hint{display:none!important;pointer-events:none!important}
html body.bu-board-page .bu-map-window-head{position:relative!important;z-index:20!important}
html body.bu-board-page .bu-map-window-layers{position:relative!important;z-index:21!important}
