@media screen{
 .fleet-cargo{min-width:0;color:var(--ink);background:transparent}
 .cargo-tools{display:flex;gap:var(--ui-gap);align-items:center;flex-wrap:nowrap;justify-content:flex-end}.cargo-tools>[data-cargo-copy]{display:flex;flex:1 1 220px;gap:var(--ui-gap);min-width:0;max-width:none}.cargo-tools select{min-width:0;flex:1}.cargo-tools button{flex:none;white-space:nowrap}
 .cargo-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px}.cargo-main{min-width:0}.cargo-sidebar{min-width:0;border-left:1px solid var(--line);padding-left:16px}
 .cargo-base{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ui-gap)}.fleet-cargo .ui-field{align-content:start}.fleet-cargo .ui-field label{display:grid;gap:var(--ui-gap);min-width:0}.fleet-cargo input,.fleet-cargo select{width:100%;min-width:0;box-sizing:border-box}
 .cargo-statistics{display:flex;gap:var(--ui-gap);flex-wrap:wrap;margin:12px 0}.cargo-statistics>span{padding:8px 12px;background:var(--surface-alt,var(--paper));border-radius:var(--ui-radius)}
 .cargo-view{border:1px solid var(--line);border-radius:var(--ui-radius);padding:12px;margin:12px 0;background:var(--surface)}.fleet-cargo h3{font-size:var(--ui-text);margin:0 0 8px;font-weight:var(--ui-heading-weight)}
 .cargo-plan,.cargo-perspective{display:block;width:100%;height:auto;min-height:200px;max-height:420px;color:var(--ink);overflow:hidden}.cargo-plan{touch-action:none;user-select:none}.cargo-plan text,.cargo-perspective text{font:var(--ui-small) var(--ui-font);fill:var(--ink);pointer-events:none}
 .cargo-floor{fill:var(--surface-alt,var(--paper));stroke:var(--muted);stroke-width:1.5}.cargo-wall,.cargo-dimension{fill:none;stroke:var(--muted);stroke-width:1}.cargo-wall{stroke-dasharray:5 4}.cargo-grid-line{fill:none;stroke:var(--line);stroke-width:.6}
 .cargo-item{cursor:grab}.cargo-item rect,.cargo-3d-item polygon{fill:var(--cargo-fill,var(--brand-soft,var(--soft)));stroke:var(--cargo-ink,var(--brand-deep,var(--deep)));stroke-width:1.5}.cargo-3d-item polygon{fill-opacity:.75}.cargo-item.selected rect{stroke:var(--ink);stroke-width:3}.cargo-handle,.cargo-vertex{fill:var(--surface);stroke:var(--ink);stroke-width:2;cursor:move}.cargo-handle{cursor:nwse-resize}
 .cargo-kind-wheelarch,.cargo-kind-partition,.cargo-kind-fixed{--cargo-fill:var(--brand-soft,var(--soft));--cargo-ink:var(--brand-deep,var(--deep))}.cargo-kind-keepclear{--cargo-fill:var(--red-soft,var(--attention-surface));--cargo-ink:var(--red)}.cargo-kind-door,.cargo-kind-ramp{--cargo-fill:color-mix(in srgb,var(--blue,var(--muted)) 15%,var(--surface));--cargo-ink:var(--blue,var(--muted))}.cargo-kind-lift,.cargo-kind-deck{--cargo-fill:color-mix(in srgb,var(--green) 15%,var(--surface));--cargo-ink:var(--green)}
 .cargo-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:var(--ui-gap);margin:12px 0}.cargo-object-list{display:grid;gap:6px;margin:12px 0}.cargo-object-list button{justify-content:flex-start;min-width:0}.cargo-object-list button>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cargo-object-list [aria-pressed=true]{background:var(--surface-alt,var(--paper));border-color:var(--brand)}
 .cargo-dot{width:10px;height:10px;border-radius:2px;background:var(--cargo-fill,var(--brand-soft,var(--soft)));border:1px solid var(--cargo-ink,var(--muted));flex:none}
 [data-cargo-editor]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-gap)}[data-cargo-editor]>h3,[data-cargo-editor]>.cargo-actions{grid-column:1/-1}.cargo-outline{border:1px solid var(--line);border-radius:var(--ui-radius);padding:12px}.cargo-outline summary{cursor:pointer}.cargo-point{display:grid;grid-template-columns:24px minmax(0,1fr) minmax(0,1fr) auto;gap:var(--ui-gap);align-items:end;margin:10px 0}
 .cargo-notes{margin-top:16px}.cargo-notes textarea{min-height:80px}.fleet-cargo [role=alert]{color:var(--red)}.fleet-cargo:fullscreen{background:var(--surface);padding:20px;overflow:auto;box-sizing:border-box}
 @media(max-width:850px){.cargo-layout{grid-template-columns:minmax(0,1fr)}.cargo-sidebar{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.cargo-base{grid-template-columns:repeat(2,minmax(0,1fr))}.cargo-tools{flex-wrap:wrap}.cargo-tools>[data-cargo-copy]{flex-basis:100%;max-width:100%;flex-wrap:nowrap}}
}
@media print{.fleet-cargo .cargo-tools,.fleet-cargo .cargo-base,.fleet-cargo .cargo-sidebar,.fleet-cargo .cargo-outline,.fleet-cargo .cargo-notes,.fleet-cargo [role=status],.fleet-cargo [role=alert]{display:none}.cargo-plan,.cargo-perspective{display:block;width:100%;max-height:90mm}.cargo-view{break-inside:avoid}.cargo-plan text,.cargo-perspective text{fill:black}.cargo-floor{fill:white;stroke:black}.cargo-grid-line{stroke:#ccc;fill:none}.cargo-wall,.cargo-dimension{fill:none;stroke:#777}.cargo-item rect,.cargo-3d-item polygon{fill:#ddd;stroke:black}.cargo-handle,.cargo-vertex{display:none}}
@media print{
 body:has(.fleet-cargo) :is(.sidebar,.topbar,.onsite-mobile-header,.bottom-nav,.master-tabs,.master-status,.master-card-heading button,.onsite-feedback-trigger,.onsite-operation-notice){display:none}
 body:has(.fleet-cargo) .main{margin:0;padding:0}body:has(.fleet-cargo) #content{padding:0;margin:0}body:has(.fleet-cargo) .master-panel{padding:0;border:0}
 .fleet-cargo .cargo-view{border:0;padding:0;margin:4mm 0}.fleet-cargo .cargo-statistics{display:flex;gap:5mm;font-size:9pt}.fleet-cargo h3{font-size:11pt}
}

@media screen{
 .master-cargo-actions{display:flex;align-items:center;gap:8px}.master-navigation>.master-cargo-actions{margin-left:auto;flex:none}
 .master-cargo-actions>.master-card-edit{width:36px;height:36px;padding:8px;display:grid;place-items:center}
 .cargo-base-card{border:1px solid var(--line);border-radius:var(--ui-radius);padding:12px;margin:12px 0;background:var(--surface)}
 .fleet-cargo{font:400 var(--ui-table)/1.4 var(--ui-font)}
 .fleet-cargo :is(.help,[role=status],[role=alert]){font:400 var(--ui-small)/1.5 var(--ui-font)}
 .fleet-cargo :is([role=status],[role=alert]):empty{display:none}
 .cargo-tools{justify-content:flex-start;margin-bottom:16px}
 .cargo-sidebar{padding-top:0}.cargo-main>h3,.cargo-sidebar>h3{min-height:36px;display:flex;align-items:center;margin:0 0 8px}
 .cargo-add-row{display:flex;align-items:center;gap:8px;min-width:0;margin:8px 0 12px}
 .cargo-add-row>select{flex:1;min-width:0}.cargo-add-row>.action-add{flex:0 0 36px;margin:0}
 .fleet-cargo [data-cargo-editor]>.cargo-actions>.ui-row-action{display:inline-flex;align-items:center;justify-content:center;flex:none}
 .cargo-readonly .cargo-item{cursor:default}.cargo-readonly .cargo-plan{touch-action:pan-y}
 .fleet-cargo:fullscreen>.master-cargo-actions{justify-content:flex-end;margin-bottom:16px}
 @media(max-width:600px){.master-navigation:has(.master-cargo-actions.master-edit-actions){flex-wrap:wrap}.master-navigation:has(.master-cargo-actions.master-edit-actions)>.master-tabs{flex-basis:100%}}
}
@media print{.master-cargo-actions,.cargo-base-card>h3,.cargo-main>h3{display:none!important}.cargo-base-card{border:0;padding:0;margin:0}}
