/* Compact selected-cargo controls, independent of trailer zoom. */
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout .callout-pallet-list{display:flex;flex-direction:column;gap:2px;max-height:180px;overflow-y:auto;margin:5px 0}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout .callout-pallet-row{display:block;width:100%;text-align:left;border:1px solid transparent;border-radius:5px;background:#f1f5f9;color:#172b45}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout .callout-pallet-row.active,
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout [data-callout-action="stack-two"].active{background:#0f172a!important;color:#fff!important;border-color:#0f172a!important}
@media screen {
html body :is(#planArea,#planArea2).dense-callouts .callout:not(.selected-pallet-callout){width:220px!important;max-width:220px!important;padding:2px 8px!important;min-height:0!important;box-sizing:border-box!important}
html body :is(#planArea,#planArea2).dense-callouts .callout:not(.selected-pallet-callout) .callout-text{font-size:11px!important;line-height:12px!important;padding:0!important;min-height:0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout{width:280px!important;max-width:calc(100vw - 24px)!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;padding:9px!important;z-index:900!important;box-sizing:border-box!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout :is(.callout-text,.callout-pallet-index){width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;white-space:pre-line!important;overflow:visible!important;overflow-wrap:anywhere;font-size:12px!important;line-height:1.25!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout .callout-text{padding-right:24px!important;box-sizing:border-box!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout .callout-actions{position:static!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:5px 0 0!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:5px!important;border:0!important;box-shadow:none!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout :is(.v45-freeze-panel,.v45-stack-panel,.cargo-delete-actions){display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:5px!important;width:100%!important;margin:0!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout button{white-space:normal!important;min-height:28px!important;height:auto!important;min-width:0!important;padding:4px 7px!important;font:600 12px/1.2 Arial,sans-serif!important;box-sizing:border-box!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout [data-callout-action="close"]{position:absolute!important;right:7px!important;top:7px!important;width:24px!important;min-height:24px!important;padding:0!important;font-size:18px!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout .v40-pallet-nav{width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:0!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout .v40-selected-tools{gap:8px!important;margin:0!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout .v40-remote-grid{grid-template-columns:repeat(3,24px)!important;grid-template-rows:repeat(3,24px)!important;gap:2px!important;padding:0!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout .v40-remote-grid button{width:24px!important;height:24px!important;min-height:24px!important;padding:0!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout .v45-stack-base-btn{width:auto!important;flex:1 1 auto!important}
html body :is(#planArea,#planArea2) .callout.selected-pallet-callout .v45-stack-row{display:flex!important;gap:4px!important}
html.guest-demo body :is(#planArea,#planArea2) .callout.selected-pallet-callout .cargo-delete-actions{display:none!important}
@media(max-width:700px){html body :is(#planArea,#planArea2) .callout.selected-pallet-callout{position:fixed!important;left:12px!important;right:auto!important;top:12px!important;bottom:auto!important;width:300px!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;overflow-x:hidden!important;transform:none!important}html body :is(#planArea,#planArea2) .callout.selected-pallet-callout button{min-height:34px!important}}
}
