.pou-allocate { width: 100%; min-height: 34px; margin-top: 10px; color: var(--store-theme, #2f65a7); }
#invoiceForm .processing-inline-row.processing-orchestration-row button { display: inline-flex !important; align-items: center; justify-content: center; }
#invoiceForm .processing-orchestration-row .pou-summary { box-sizing: border-box; position: sticky; left: 0; width: min(100%, calc(var(--invoice-content-safe-width, 100%) - 32px)); border-right: 0 !important; outline: 0 !important; box-shadow: none !important; }
#invoiceForm .processing-orchestration-row .pou-summary::after { content: none !important; display: none !important; }
.pou-output-card:has(.pou-branch) { grid-column: 1 / -1; }
.pou-branch .pou-outputs { grid-template-columns: minmax(0, 1fr); }
.pou-branch .pou-task-card.is-nested { margin-left: 4px; }
.pou-output-card > p, .pou-task-head, .pou-summary > header > div { white-space: normal; overflow-wrap: anywhere; flex-wrap: wrap; }
.pou-status.is-unassigned { color: #9a640d; background: #fff5df; }
.poa-overlay { position: fixed; inset: 0; z-index: 10040; display: grid; place-items: center; padding: 24px; background: rgba(18, 35, 31, .34); }
.poa-dialog { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: min(760px, 94vw); max-height: min(820px, 92vh); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(16, 42, 35, .22); color: #243632; }
.poa-dialog > header { display: flex; justify-content: space-between; gap: 20px; padding: 22px 24px 18px; border-bottom: 1px solid #e0e8e5; }
.poa-dialog > header small { color: var(--store-theme, #2f65a7); font-weight: 800; }
.poa-dialog h2 { margin: 4px 0; font-size: 25px; }
.poa-dialog p { margin: 0; color: #6d7e79; }
.poa-dialog > header button { width: 40px; height: 40px; border: 0; border-radius: 50%; font-size: 25px; }
.poa-dialog > main { grid-column: auto; min-width: 0; overflow-y: auto; padding: 20px 24px; }
.poa-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.poa-counts span { display: flex; justify-content: space-between; padding: 13px; border: 1px solid #dce6e2; border-radius: 10px; background: #f9fbfa; }
.poa-counts b { color: var(--store-theme, #2f65a7); }
.poa-counts .is-warning { border-color: #ebc675; background: #fff8e9; }
.poa-counts .is-warning b { color: #9a640d; }
.poa-counts .is-complete { border-color: color-mix(in srgb, var(--store-theme, #2f65a7) 35%, #dce6e2); }
.poa-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.poa-fields label { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 12px; border: 1px solid #dce6e2; border-radius: 10px; }
.poa-fields label > span { grid-column: 1 / -1; }
.poa-dialog button { color: var(--store-theme, #2f65a7); }
.poa-dialog button.primary { background: var(--store-theme, #2f65a7); color: white; }
.poa-dialog button:disabled { opacity: .45; cursor: not-allowed; }
.poa-fields label > div { display: grid; grid-template-columns: 34px 64px 34px; }
.poa-fields input { width: 64px; height: 38px; border-radius: 0; text-align: center; }
.poa-fields label > div button { width: 34px; height: 38px; padding: 0; border: 1px solid #d5dfdc; background: #f8faf9; }
.poa-continuations { margin-top: 18px; padding: 15px; border: 1px solid #dce6e2; border-radius: 12px; }
.poa-continuations > header, .poa-continuations article, .poa-continuations article > div, .poa-add { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.poa-continuations > header span { color: #9a640d; }
.poa-continuations article { margin-top: 9px; padding: 10px 12px; border-left: 3px solid var(--store-theme, #2f65a7); background: color-mix(in srgb, var(--store-theme, #2f65a7) 5%, #fff); }
.poa-continuations article > div { justify-content: flex-start; }
.poa-add { justify-content: flex-start; margin-top: 12px; }
.poa-add button { min-height: 38px; color: var(--store-theme, #2f65a7); }
.poa-next-quantity { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.poa-next-quantity input { width: 100px; min-height: 40px; }
.poa-warning { margin-top: 15px !important; padding: 11px 13px; border-radius: 9px; background: #fff5df; color: #8b5d13 !important; }
.poa-warning.is-complete { background: color-mix(in srgb, var(--store-theme, #2f65a7) 7%, #fff); color: var(--store-theme, #2f65a7) !important; }
.poa-dialog > footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid #e0e8e5; }
.poa-dialog > footer button { min-width: 110px; min-height: 42px; }
@media (max-width: 900px) { .poa-overlay { padding: 8px; } .poa-counts, .poa-fields { grid-template-columns: 1fr; } .poa-dialog { max-height: 96vh; } }
.poa-root-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 12px 0; }
.poa-root-actions button { border: 1px solid var(--store-theme, #315f98); color: var(--store-theme, #315f98); background: white; border-radius: 8px; padding: 10px 16px; }
.pou-summary-actions .pou-remove-all { color: #b5473c; border-color: #e8bbb6; }
