.processing-orchestration-row > td {
  padding: 0 !important;
  background: color-mix(in srgb, var(--store-theme, #2f65a7) 3%, #fff);
}

.pou-summary {
  border-left: 3px solid var(--store-theme, #2f65a7);
  padding: 14px 16px;
  color: #243632;
}

.pou-summary > header,
.pou-task-head,
.pou-delivery > header,
.pou-output-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pou-summary > header > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.pou-summary > header b { color: var(--store-theme, #2f65a7); font-size: 15px; }
.pou-summary > header span { color: #758580; font-size: 12px; }
.pou-summary > header > strong { color: var(--store-theme, #2f65a7); font-size: 18px; white-space: nowrap; }

.pou-summary-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(92px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.pou-summary-metrics > span,
.pou-output-quantities > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid color-mix(in srgb, var(--store-theme, #2f65a7) 14%, #dfe7e4);
  border-radius: 9px;
  background: #fff;
}

.pou-summary-metrics i,
.pou-output-quantities i { color: #72827d; font-style: normal; font-size: 12px; }
.pou-summary-metrics b,
.pou-output-quantities b { white-space: nowrap; font-size: 13px; }

.pou-summary-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.pou-summary-actions button { min-height: 34px; padding: 0 14px; }
.pou-flow-host { margin-top: 14px; border-top: 1px solid #dfe7e4; padding-top: 14px; }

.pou-flow { max-width: 1120px; margin: 0 auto; }
.pou-source-card,
.pou-delivery,
.pou-task-card {
  border: 1px solid color-mix(in srgb, var(--store-theme, #2f65a7) 18%, #dce5e2);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(31, 54, 48, .05);
}

.pou-source-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.pou-source-card div { display: flex; flex-direction: column; gap: 3px; }
.pou-source-card small,
.pou-delivery small { color: var(--store-theme, #2f65a7); font-weight: 700; letter-spacing: .04em; }
.pou-source-card strong { font-size: 17px; }
.pou-source-card > span { color: #5f716b; }
.pou-flow-arrow { height: 25px; display: grid; place-items: center; color: var(--store-theme, #2f65a7); font-size: 17px; }
.pou-task-list { display: grid; gap: 12px; }
.pou-task-card { padding: 14px; }
.pou-task-card.is-nested { margin: 12px 0 0 22px; border-left: 3px solid color-mix(in srgb, var(--store-theme, #2f65a7) 55%, #fff); }
.pou-task-head > div { display: flex; align-items: center; gap: 9px; }
.pou-task-head > b { color: var(--store-theme, #2f65a7); font-size: 16px; }
.pou-type,
.pou-status { border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pou-type { color: var(--store-theme, #2f65a7); background: color-mix(in srgb, var(--store-theme, #2f65a7) 10%, #fff); }
.pou-type.is-smart { border: 1px solid color-mix(in srgb, var(--store-theme, #2f65a7) 30%, #fff); }
.pou-source,
.pou-task-result { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 11px; }
.pou-source > span,
.pou-task-result > span { color: #778782; font-size: 12px; }
.pou-source > em { color: #5c6e68; font-style: normal; }
.pou-outputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pou-output-card { min-width: 0; padding: 12px; border: 1px solid #dfe7e4; border-radius: 10px; background: #fbfcfc; }
.pou-output-card header > div { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.pou-output-card header small { color: #74837f; }
.pou-output-card header strong { overflow-wrap: anywhere; }
.pou-status.is-deliver { color: var(--store-theme, #2f65a7); background: color-mix(in srgb, var(--store-theme, #2f65a7) 9%, #fff); }
.pou-status.is-keep { color: #665b40; background: #f4f1e8; }
.pou-status.is-discard { color: #786e6e; background: #f1eeee; }
.pou-output-quantities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.pou-output-quantities > span { padding: 7px 8px; }
.pou-branch { margin-top: 10px; padding-left: 10px; border-left: 1px solid color-mix(in srgb, var(--store-theme, #2f65a7) 35%, #dfe7e4); }
.pou-branch > span { color: #687a74; font-size: 12px; }
.pou-delivery { padding: 15px 16px; }
.pou-delivery h4 { margin: 2px 0 0; font-size: 18px; }
.pou-delivery > header > strong { color: var(--store-theme, #2f65a7); }
.pou-delivery > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pou-delivery > div > span { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 9px; background: color-mix(in srgb, var(--store-theme, #2f65a7) 5%, #fff); }
.pou-delivery i { color: #71817c; font-style: normal; font-size: 11px; }
.pou-delivery em { margin-left: auto; font-style: normal; white-space: nowrap; }
.pou-delivery p { margin: 11px 0 0; color: #73827e; font-size: 12px; }

@media (max-width: 1650px) {
  .pou-summary-metrics { grid-template-columns: repeat(3, minmax(110px, 1fr)); }
  .pou-delivery > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1400px) {
  .pou-summary { padding: 12px; }
  .pou-outputs { grid-template-columns: 1fr; }
  .pou-output-quantities { grid-template-columns: repeat(3, minmax(85px, 1fr)); }
}

@media (max-width: 900px) {
  .pou-summary > header,
  .pou-source-card,
  .pou-delivery > header { align-items: flex-start; flex-direction: column; }
  .pou-summary > header > div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .pou-summary-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pou-delivery > div { grid-template-columns: 1fr; }
}
