/* Berza Utovara • Cargo v315 — focused, reversible design layer.
 * This stylesheet is enqueued only on the cargo marketplace template.
 */
html body.bux3-cargo #bux3{
  --bu315-ink:#0b2c3e;--bu315-muted:#5a7482;--bu315-line:#d8e6ea;
  --bu315-teal:#008c79;--bu315-teal-deep:#006e63;--bu315-soft:#f4f9fa;
}
html body.bux3-cargo #bux3 :is(button,a,input,select,textarea):focus-visible{
  outline:3px solid rgba(0,159,143,.72)!important;outline-offset:3px!important;
}
html body.bux3-cargo #bux3 .bu315-sr-only{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
html body.bux3-cargo #bux3 .bux3-results-head{flex-wrap:wrap!important;gap:9px!important}
html body.bux3-cargo #bux3 .bu315-inventory{
  display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:7px 10px;
  border:1px solid #cce9e2;border-radius:999px;background:#effbf6;color:#03795f;
  font:800 11px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.02em;white-space:nowrap;
}
html body.bux3-cargo #bux3 .bu315-inventory.is-demo-only{background:#fff8e8;border-color:#f1ddb5;color:#87601c}
html body.bux3-cargo #bux3 .bux3-card{
  border:1px solid #dce9ed!important;border-radius:16px!important;
  box-shadow:0 3px 15px rgba(4,53,74,.04)!important;
  transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease!important;
}
html body.bux3-cargo #bux3 .bux3-card:hover{
  transform:translateY(-1px)!important;border-color:#b8dcd7!important;
  box-shadow:0 12px 24px rgba(0,55,73,.1)!important;
}
html body.bux3-cargo #bux3 .bux3-details{
  border-radius:11px!important;min-height:39px!important;min-width:96px!important;
  background:linear-gradient(130deg,#007e79,#0b9483)!important;color:#fff!important;
  border:0!important;box-shadow:0 4px 12px rgba(0,112,103,.15)!important;
}
html body.bux3-cargo #bux3 .bux3-details:hover{filter:brightness(1.08)}
html body.bux3-cargo #bux3 .bux3-quick input,
html body.bux3-cargo #bux3 .bux3-quick select{min-width:0}
html body.bux3-cargo #bux3 #bux3-filter-modal .bux3-modal{
  border:1px solid #d8e9ed!important;box-shadow:0 30px 90px rgba(0,27,43,.25)!important;
}
html body.bux3-cargo #bux3 .bu315-filter-error{
  padding:10px 15px;margin:0 18px 10px;background:#fff1ee;color:#9b2d22;
  border:1px solid #f0c8bd;border-radius:12px;font-size:13px;font-weight:700;
}
html body.bux3-cargo #bux3 .bu315-filter-error[hidden]{display:none!important}
html body.bux3-cargo #bux3 .bu315-date-presets{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important;
 padding:12px 17px!important;background:#f7fbfa!important;border-bottom:1px solid #e0ecee!important;
}
html body.bux3-cargo #bux3 .bu315-date-presets button{
 width:auto!important;min-height:36px!important;padding:8px 12px!important;
 border:1px solid #cce2e0!important;border-radius:999px!important;background:#fff!important;
 color:#225c64!important;font:800 11px/1.3 system-ui,sans-serif!important;cursor:pointer!important;
}
html body.bux3-cargo #bux3 .bu315-date-presets button:hover,
html body.bux3-cargo #bux3 .bu315-date-presets button[aria-pressed="true"]{
 background:#e0f7f0!important;color:#087467!important;border-color:#8adacb!important;
}
html body.bux3-cargo #bux3 .bu315-chat-status{
  display:flex;align-items:center;gap:8px;min-width:0;padding:10px 13px;
  border-bottom:1px solid #e3edf1;background:#f7fbfa;color:#274b59;
  font:700 12px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;
}
html body.bux3-cargo #bux3 .bu315-chat-status .bu315-online{
  width:8px;height:8px;flex:0 0 8px;background:#0aae8e;border-radius:50%;
  box-shadow:0 0 0 3px rgba(10,174,142,.12);
}
html body.bux3-cargo #bux3 .bu315-chat-status.is-busy .bu315-online{background:#df9c2b;box-shadow:0 0 0 3px rgba(223,156,43,.13)}
html body.bux3-cargo #bux3 .bu315-chat-status .bu315-chat-kind{
  margin-left:auto;font-size:10px;font-weight:700;color:#6b8591;white-space:nowrap;
}
html body.bux3-cargo #bux3 .bux3-ai-log{
  display:flex!important;flex-direction:column!important;gap:12px!important;
  padding:16px!important;background:linear-gradient(180deg,#f5fafb 0%,#fff 100%)!important;
  overflow-y:auto!important;overscroll-behavior:contain;scroll-behavior:smooth;
}
html body.bux3-cargo #bux3 .bu315-intro{
  display:flex;flex-direction:column;gap:8px;padding:15px!important;
  background:#fff!important;border:1px solid #deebed!important;border-radius:16px!important;
  box-shadow:0 6px 24px rgba(0,49,72,.04);
}
html body.bux3-cargo #bux3 .bu315-intro strong{font-size:15px!important;color:#0b3b4b!important;font-weight:850}
html body.bux3-cargo #bux3 .bu315-intro p{
  padding:0!important;margin:0!important;font:500 12px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif;color:#5b7482!important
}
html body.bux3-cargo #bux3 .bu315-prompts{display:flex;gap:7px;flex-wrap:wrap;margin-top:5px}
html body.bux3-cargo #bux3 .bu315-prompts button{
  width:auto;max-width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;
  border:1px solid #c9e7e0!important;background:#edf9f6!important;color:#087568!important;
  border-radius:10px!important;padding:9px 11px!important;font-size:11px!important;
  line-height:1.4!important;font-weight:750!important;cursor:pointer;
}
html body.bux3-cargo #bux3 .bu315-prompts button:hover{background:#def6ed!important}
html body.bux3-cargo #bux3 .bu315-bubble{
  display:block!important;max-width:min(92%,540px)!important;width:max-content!important;
  padding:12px 14px!important;border-radius:15px!important;margin:0!important;
  font:500 12px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  white-space:pre-wrap!important;overflow-wrap:anywhere!important;
  box-shadow:0 4px 14px rgba(0,34,51,.04)!important;
}
html body.bux3-cargo #bux3 .bu315-bubble.is-assistant{
  margin-right:auto!important;border:1px solid #e0e9ec!important;background:#fff!important;color:#1f4351!important;
  border-bottom-left-radius:5px!important;
}
html body.bux3-cargo #bux3 .bu315-bubble.is-user{
  margin-left:auto!important;background:#087b73!important;color:#fff!important;
  border:1px solid #087b73!important;border-bottom-right-radius:5px!important;
}
html body.bux3-cargo #bux3 .bu315-bubble.is-thinking{opacity:.75}
html body.bux3-cargo #bux3 .bux3-ai-form input{min-height:42px!important;font-size:13px!important}
html body.bux3-cargo #bux3 .bux3-ai-form button{min-height:42px!important;border-radius:10px!important}
html body.bux3-cargo #bux3 .bux3-ai-form button:disabled{opacity:.5!important;cursor:wait!important}
html body.bux3-cargo #bux3 .bu315-detail-overlay{
  position:fixed!important;inset:0!important;display:grid!important;place-items:center!important;
  padding:clamp(12px,3vh,28px)!important;background:rgba(2,21,34,.69)!important;
  backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important;
  z-index:2147483600!important;overflow:hidden!important;
}
html body.bux3-cargo #bux3 .bu315-detail-overlay[hidden]{display:none!important}
html body.bux3-cargo #bux3 .bu315-detail-window{
  width:min(1080px,100%)!important;max-width:1080px!important;
  max-height:min(92dvh,940px)!important;height:auto!important;display:flex!important;
  flex-direction:column!important;overflow:hidden!important;margin:0!important;
  border:1px solid rgba(255,255,255,.76)!important;border-radius:22px!important;
  background:#f7fafb!important;color:#0c2f3e!important;
  box-shadow:0 34px 110px rgba(0,19,32,.36)!important;
  animation:bu315-rise .24s cubic-bezier(.2,.7,.2,1) both;
}
html body.bux3-cargo #bux3 .bu315-detail-header{
  flex:0 0 auto!important;display:flex!important;align-items:center;justify-content:space-between;
  padding:17px 24px!important;gap:15px!important;background:linear-gradient(112deg,#062f47,#086d72)!important;color:white!important;
}
html body.bux3-cargo #bux3 .bu315-detail-overline{display:block;font:750 10px/1.4 system-ui,sans-serif;opacity:.76;letter-spacing:.1em;text-transform:uppercase}
html body.bux3-cargo #bux3 .bu315-detail-header h2{color:#fff!important;font-size:19px!important;line-height:1.3!important;font-weight:850!important;margin:2px 0 0!important}
html body.bux3-cargo #bux3 .bu315-x{
  flex:0 0 40px!important;width:40px!important;height:40px!important;display:grid!important;
  place-items:center!important;border:1px solid rgba(255,255,255,.32)!important;
  border-radius:12px!important;background:rgba(255,255,255,.13)!important;color:white!important;
  font:500 29px/1 Arial,sans-serif!important;cursor:pointer;
}
html body.bux3-cargo #bux3 .bu315-x:hover{background:rgba(255,255,255,.25)!important}
html body.bux3-cargo #bux3 .bu315-detail-scroll{
  overflow:auto!important;overscroll-behavior:contain!important;min-height:0!important;
  flex:1 1 auto!important;padding:20px clamp(12px,2.3vw,28px)!important;
}
html body.bux3-cargo #bux3 .bu315-hero{
  padding:20px 22px;margin:0 0 14px;background:#fff;
  border:1px solid var(--bu315-line);border-radius:17px;
}
html body.bux3-cargo #bux3 .bu315-hero-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
html body.bux3-cargo #bux3 .bu315-label{
  display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;
  font:850 10px/1.2 system-ui,sans-serif;letter-spacing:.065em;text-transform:uppercase;
}
html body.bux3-cargo #bux3 .bu315-label.is-demo{background:#fff0d6;color:#945717}
html body.bux3-cargo #bux3 .bu315-label.is-live{background:#e0f8ed;color:#087858}
html body.bux3-cargo #bux3 .bu315-id{font-size:11px;color:#7e939d;font-weight:700}
html body.bux3-cargo #bux3 .bu315-hero h3{
  margin:12px 0!important;font-size:clamp(19px,2.5vw,28px)!important;
  line-height:1.27!important;letter-spacing:-.035em!important;color:#092d3f!important;overflow-wrap:anywhere;
}
html body.bux3-cargo #bux3 .bu315-route-dates{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;color:#63808a;font-size:12px}
html body.bux3-cargo #bux3 .bu315-route-dates strong{color:#143e4e!important;font-weight:800}
html body.bux3-cargo #bux3 .bu315-detail-columns{
  display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(290px,.9fr)!important;
  gap:14px!important;align-items:start!important;
}
html body.bux3-cargo #bux3 .bu315-detail-columns .bu315-col{min-width:0!important;display:flex;flex-direction:column;gap:13px}
html body.bux3-cargo #bux3 .bu315-attr-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
  padding:13px;border:1px solid var(--bu315-line);border-radius:17px;background:#fff;
}
html body.bux3-cargo #bux3 .bu315-attribute{min-width:0;padding:12px 13px;border-radius:11px;background:#f4f8f9}
html body.bux3-cargo #bux3 .bu315-attribute span{
  display:block;margin-bottom:5px;font:700 10px/1.3 system-ui,sans-serif;color:#6b8790;
}
html body.bux3-cargo #bux3 .bu315-attribute strong{
  display:block;overflow-wrap:anywhere;font:800 13px/1.4 system-ui,sans-serif;color:#0a3546;
}
html body.bux3-cargo #bux3 .bu315-description,
html body.bux3-cargo #bux3 .bu315-disclosure,
html body.bux3-cargo #bux3 .bu315-map-panel,
html body.bux3-cargo #bux3 .bu315-cost-panel{
  min-width:0;padding:16px 17px;border:1px solid var(--bu315-line);
  border-radius:17px;background:#fff;box-shadow:0 2px 8px rgba(0,44,60,.025);
}
html body.bux3-cargo #bux3 .bu315-description strong,
html body.bux3-cargo #bux3 .bu315-disclosure strong{
  font:850 13px/1.35 system-ui,sans-serif;color:#124154;
}
html body.bux3-cargo #bux3 .bu315-description p,
html body.bux3-cargo #bux3 .bu315-disclosure p{
  margin:8px 0 0!important;color:#557584!important;font:500 12px/1.7 system-ui,sans-serif!important;
  overflow-wrap:anywhere;
}
html body.bux3-cargo #bux3 .bu315-disclosure{background:#f0f8f6}
html body.bux3-cargo #bux3 .bu315-disclosure small{display:block;margin-top:8px;color:#08766a;font-weight:800;font-size:10px}
html body.bux3-cargo #bux3 .bu315-section-head{
  display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;
}
html body.bux3-cargo #bux3 .bu315-section-head strong{color:#123e4e;font:850 13px/1.35 system-ui,sans-serif}
html body.bux3-cargo #bux3 .bu315-section-head span{color:#8599a0;font-size:10px}
html body.bux3-cargo #bux3 #bu315-map{
  height:190px!important;width:100%!important;border-radius:12px;background:linear-gradient(145deg,#dcebe9,#f0f6f5);
  overflow:hidden!important;z-index:0!important;
}
html body.bux3-cargo #bux3 .bu315-map-panel p,
html body.bux3-cargo #bux3 .bu315-cost-panel p{
  color:#78909a;font:500 10px/1.55 system-ui,sans-serif;margin:10px 0 0!important;
}
html body.bux3-cargo #bux3 .bu315-calc-fields{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
}
html body.bux3-cargo #bux3 .bu315-calc-fields label{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;
  min-width:0!important;color:#637f8d!important;font:750 10px/1.35 system-ui,sans-serif!important;
}
html body.bux3-cargo #bux3 .bu315-calc-fields .bu315-wide{grid-column:1/-1}
html body.bux3-cargo #bux3 .bu315-calc-fields input{
  display:block!important;width:100%!important;min-width:0!important;min-height:41px!important;
  padding:9px 11px!important;border:1px solid #dae7e9!important;border-radius:10px!important;
  background:#f9fcfc!important;color:#0a3546!important;font:750 13px/1.3 system-ui,sans-serif!important;
}
html body.bux3-cargo #bux3 .bu315-totals{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:11px;
}
html body.bux3-cargo #bux3 .bu315-totals div{padding:12px;border-radius:11px;background:#ecf7f5}
html body.bux3-cargo #bux3 .bu315-totals span{display:block;font-size:10px;color:#527d82;font-weight:700}
html body.bux3-cargo #bux3 .bu315-totals b{display:block;margin-top:6px;font-size:20px;font-weight:900;color:#087b72}
html body.bux3-cargo #bux3 .bu315-totals b.is-negative{color:#b43b42}
html body.bux3-cargo #bux3 .bu315-detail-footer{
  display:flex!important;align-items:center;justify-content:flex-end;gap:10px;
  padding:13px 24px!important;background:white!important;border-top:1px solid #d9e8eb!important;
  flex:0 0 auto!important;
}
html body.bux3-cargo #bux3 .bu315-detail-footer .bu315-save,
html body.bux3-cargo #bux3 .bu315-detail-footer .bu315-full{
  display:inline-flex!important;justify-content:center!important;align-items:center!important;
  gap:6px!important;min-height:43px!important;padding:10px 16px!important;
  border-radius:11px!important;font:850 12px/1.3 system-ui,sans-serif!important;text-decoration:none!important;
}
html body.bux3-cargo #bux3 .bu315-save{
  border:1px solid #bbdcd7!important;background:#eff9f7!important;color:#126c64!important;
}
html body.bux3-cargo #bux3 .bu315-save[aria-pressed="true"]{background:#dbf6ec!important;color:#086858!important}
html body.bux3-cargo #bux3 .bu315-full{
  background:#008c78!important;color:white!important;border:1px solid #008c78!important;
}
html body.bux3-cargo #bux3 .bu315-full[hidden]{display:none!important}
@keyframes bu315-rise{from{opacity:0;transform:translateY(10px) scale(.988)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:980px){
 html body.bux3-cargo #bux3 .bu315-detail-columns{grid-template-columns:1fr!important}
 html body.bux3-cargo #bux3 #bu315-map{height:220px!important}
 html body.bux3-cargo #bux3 .bu315-detail-window{max-height:96dvh!important}
}
@media(max-width:700px){
 html body.bux3-cargo #bux3 .bux3-cards{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
 html body.bux3-cargo #bux3 .bux3-card{min-width:0!important;width:100%!important;padding:13px!important;border-radius:13px!important}
 html body.bux3-cargo #bux3 .bux3-details{min-height:41px!important}
 html body.bux3-cargo #bux3 .bu315-detail-overlay{padding:0!important;place-items:end center!important;backdrop-filter:blur(3px)!important}
 html body.bux3-cargo #bux3 .bu315-detail-window{
   width:100%!important;max-width:none!important;max-height:calc(100dvh - env(safe-area-inset-top,0px))!important;
   border-radius:20px 20px 0 0!important;border-bottom:0!important;
   animation:bu315-mobile .25s cubic-bezier(.2,.7,.2,1) both;
 }
 html body.bux3-cargo #bux3 .bu315-detail-header{padding:13px 16px!important}
 html body.bux3-cargo #bux3 .bu315-detail-header h2{font-size:16px!important}
 html body.bux3-cargo #bux3 .bu315-detail-scroll{padding:12px!important}
 html body.bux3-cargo #bux3 .bu315-hero{padding:16px!important}
 html body.bux3-cargo #bux3 .bu315-hero h3{font-size:21px!important}
 html body.bux3-cargo #bux3 .bu315-attr-grid{gap:7px!important;padding:8px!important}
 html body.bux3-cargo #bux3 .bu315-attribute{padding:10px!important}
 html body.bux3-cargo #bux3 .bu315-attribute strong{font-size:12px!important}
 html body.bux3-cargo #bux3 .bu315-detail-footer{
   padding:11px 13px calc(12px + env(safe-area-inset-bottom,0px))!important;
   justify-content:stretch!important;gap:8px!important;
 }
 html body.bux3-cargo #bux3 .bu315-detail-footer .bu315-save,
 html body.bux3-cargo #bux3 .bu315-detail-footer .bu315-full{flex:1 1 0!important;padding:9px!important;min-width:0!important}
 html body.bux3-cargo #bux3 .bu315-intro{padding:12px!important}
 html body.bux3-cargo #bux3 .bu315-bubble{font-size:13px!important;max-width:96%!important}
 html body.bux3-cargo #bux3 .bu315-chat-status{padding:8px 11px}
 html body.bux3-cargo #bux3 .bu315-chat-status .bu315-chat-kind{display:none}
 html body.bux3-cargo #bux3 #bux3-filter-modal .bux3-modal{max-height:calc(100dvh - env(safe-area-inset-top,0px))!important}
}
@keyframes bu315-mobile{from{opacity:.5;transform:translateY(26px)}to{opacity:1;transform:none}}
@media(max-width:380px){
 html body.bux3-cargo #bux3 .bu315-hero h3{font-size:18px!important}
 html body.bux3-cargo #bux3 .bu315-detail-header{padding:11px!important}
 html body.bux3-cargo #bux3 .bu315-attribute{padding:8px!important}
 html body.bux3-cargo #bux3 .bu315-calc-fields{gap:7px!important}
}
@media(prefers-reduced-motion:reduce){
 html body.bux3-cargo #bux3 .bu315-detail-window,
 html body.bux3-cargo #bux3 .bux3-card{animation:none!important;transition:none!important;transform:none!important}
 html body.bux3-cargo #bux3 .bux3-ai-log{scroll-behavior:auto!important}
}