.tr-delivery-fields { grid-column: 1 / -1; display: grid; gap: 10px; min-width: 0; }
.tr-delivery-fields > button { justify-self: start; }
.tr-delivery-invoice { min-width: 0; margin: 0; padding: 12px; border: 1px solid #d3dff0; border-radius: 10px; }
.tr-delivery-invoice > legend { padding: 0 6px; font-weight: 650; }
.tr-delivery-number { display: flex; align-items: end; gap: 10px; }
.tr-delivery-number > label { flex: 1 1 auto; min-width: 0; }
.tr-delivery-invoice > details { margin-top: 10px; }
.tr-delivery-invoice > details > .dense-form { margin-top: 10px; }
.tr-delivery-fields .tr-delivery-checkbox { display: flex; align-items: center; gap: 8px; }
.tr-delivery-fields .tr-delivery-checkbox input { width: 18px; min-height: 0; }
.tr-delivery-group { grid-column: 1 / -1; min-width: 0; border: 1px solid var(--tr-delivery-border); border-left: 3px solid var(--tr-delivery-accent); border-radius: 9px; background: var(--tr-delivery-background); --tr-delivery-border: #c8dbf6; --tr-delivery-accent: #3673d5; --tr-delivery-background: #f0f6ff; }
.tr-delivery-group[data-accent="1"] { --tr-delivery-border: #bfdfd3; --tr-delivery-accent: #2a8a6b; --tr-delivery-background: #f0faf5; }
.tr-delivery-group[data-accent="2"] { --tr-delivery-border: #e8d8ba; --tr-delivery-accent: #a76c20; --tr-delivery-background: #fff9ec; }
.tr-delivery-group[data-accent="3"] { --tr-delivery-border: #dacdf0; --tr-delivery-accent: #7951b2; --tr-delivery-background: #f8f4ff; }
.tr-delivery-group > summary { cursor: pointer; padding-inline-start: 12px; }
.tr-delivery-group > summary > .tr-delivery-group-title { display: inline-flex; width: calc(100% - 22px); vertical-align: middle; }
.tr-delivery-group-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; }
.tr-delivery-group-title > .badge { flex: 0 0 auto; }
.tr-delivery-group-client { display: grid; gap: 2px; overflow-wrap: anywhere; }
.tr-delivery-group-client small { color: #496079; }
.tr-delivery-group > .supply-order-grid, .tr-delivery-requests { padding: 0 9px 9px; }
.tr-delivery-breakdown { margin: 8px 0; padding: 10px 12px; border: 1px solid #d3dff0; border-radius: 9px; }
.tr-delivery-breakdown summary, .tr-delivery-invoice summary { cursor: pointer; font-weight: 650; }
.tr-delivery-breakdown dl { margin: 9px 0 0; }
.tr-delivery-breakdown dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 5px 0; border-top: 1px solid #e5ebf4; }
.tr-delivery-breakdown dd { margin: 0; font-variant-numeric: tabular-nums; }
body.tr-workspace-design .app-shell.page-orders .requests-workbench .orders-company-list .orders-route-card.tr-order-cancelled,
body.tr-workspace-design .app-shell.page-supply .supply-order-grid .supply-order-card.tr-order-cancelled { background: #fff2f2 !important; border-color: #e8a7a9 !important; border-left: 3px solid #bb3341 !important; }
.app-shell.page-orders .orders-company-list .orders-route-card.tr-order-cancelled .orders-route-pick-zone { background: transparent !important; }
.orders-company-list .orders-route-card.tr-order-cancelled .orders-route-gloss { display: none; }
.tr-cancelled-pill.badge, .tr-order-cancelled .supply-status-pill { color: #8e1f2b !important; background: #fbdade !important; border: 1px solid #efb9bf; font-weight: 700; }
body.tr-workspace-design .app-shell.page-supply .supply-insight-card.tr-supply-cancel-alert { border: 1px solid #e8a7a9 !important; border-left: 4px solid #bb3341 !important; background: #fff2f2 !important; color: #8e1f2b !important; }
.tr-supply-cancel-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tr-supply-cancel-alert ul { list-style: none; margin: 8px 0 0; padding: 0; max-height: 215px; overflow: auto; }
.tr-supply-cancel-alert li + li { border-top: 1px solid #efc3c7; }
.tr-supply-cancel-alert li > button { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 7px; width: 100%; padding: 7px 0; text-align: start; background: transparent; border: 0; color: inherit; }
.tr-supply-cancel-alert li > button > span:nth-child(2) { grid-area: 2 / 1; overflow-wrap: anywhere; }
.tr-supply-cancel-alert .tr-cancelled-pill { grid-area: 1 / 2 / 3; align-self: center; }
.tr-supply-cancel-mobile { display: none; }
@media (max-width: 1499px) {
  .tr-supply-cancel-mobile { display: block; margin: 8px 0; }
  .supply-insight-panel > .tr-supply-cancel-alert { display: none; }
}
