.price-adjustment { min-width: 0; }
.pa-header { align-items: center; }
.pa-badge { color: #174b96; background: #eaf2ff; border-radius: 5px; padding: 5px 8px; font-size: 12px; white-space: nowrap; }
.pa-note { background: #fff7e5; border-left: 3px solid #d5a14d; color: #6d4a11; padding: 10px 13px; font-size: 13px; }
.pa-note strong { margin-right: 8px; }
.pa-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 16px 0 6px; }
.pa-toolbar label { display: grid; gap: 4px; color: #415069; font-size: 12px; }
.pa-toolbar input, .pa-toolbar select { min-height: 34px; max-width: 100%; }
.pa-toolbar button { min-height: 32px; padding: 4px 9px; }
#paAlertsOnly[aria-pressed="true"] { background: #fff7e5; color: #6d4a11; border-color: #d5a14d; }
.pa-toolbar .pa-batch-confirm:enabled { background: #174b96; color: #fff; border-color: #174b96; }
.pa-toolbar .pa-batch-confirm:disabled { background: #eaf0f8; color: #46566d; }
.pa-toolbar .pa-batch-confirm[hidden], #paBatchStatus[hidden], #paBulkFill[hidden], #paBulkQuote[hidden] { display: none; }
#paBatchStatus { margin: 0 0 8px; }
.pa-task-history { margin-top: 12px; color: #283a53; font-size: 13px; }
.pa-task-history summary { cursor: pointer; }
.pa-task-history ul { padding-left: 20px; }
.pa-task-history li { margin: 5px 0; overflow-wrap: anywhere; }
.pa-toolbar span, .pa-status, .pa-footnote { color: #46566d; font-size: 12px; }
.pa-toolbar span { align-self: center; margin-left: auto; }
.pa-table-region { width: 100%; max-height: 67vh; overflow: auto; border: 1px solid #dbe4ee; border-radius: 8px; }
.pa-table { width: 100%; min-width: 1280px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.pa-col-id { width: 11%; }
.pa-col-stock { width: 8%; }
.pa-col-last-green { width: 9%; }
.pa-col-price { width: 7%; }
.pa-col-ratio { width: 5%; }
.pa-col-target { width: 10%; }
.pa-col-projected { width: 8%; }
.pa-col-margin { width: 8.75%; }
.pa-col-delta { width: 7%; }
.pa-col-state { width: 10.5%; }
.pa-table th, .pa-table td { padding: 8px 7px; border-bottom: 1px solid #e6ebf2; text-align: right; white-space: nowrap; vertical-align: top; line-height: 17px; overflow: hidden; text-overflow: ellipsis; }
.pa-table tbody tr { height: 68px; }
.pa-table thead th { position: sticky; top: 0; z-index: 2; background: #f1f5fa; color: #283a53; text-align: right; }
.pa-table .pa-id, .pa-table th:first-child, .pa-table th:last-child, .pa-table .pa-state { text-align: left; }
.pa-table .pa-id { position: sticky; left: 0; z-index: 1; background: #fff; border-right: 1px solid #e6ebf2; }
.pa-table thead th:first-child { left: 0; z-index: 3; }
.pa-id a { color: #174b96; }
.pa-table tr:nth-child(even) > * { background: #fafcff; }
.pa-table small { display: block; color: #46566d; margin-top: 3px; font-size: 11px; line-height: 14px; overflow: hidden; text-overflow: ellipsis; }
.pa-value-gap { color: #46566d; font-size: 11px; white-space: normal; overflow-wrap: anywhere; }
.pa-state .pa-source-button { display: block; width: 100%; padding: 0 1px; border: 0; border-radius: 0; min-height: 0; background: transparent; color: #174b96; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pa-state .pa-source-button:focus-visible { outline-offset: -2px; }
.pa-state .pa-company-receipt[hidden] { display: none; }
.pa-state .pa-company-receipt { font-size: 11px; line-height: 13px; }
.pa-company-receipt span { display: block; overflow: hidden; text-overflow: ellipsis; }
.pa-table .pa-state { padding-block: 3px; }
.pa-state small { margin-top: 1px; }
.pa-state .pa-row-discount-alert { display: block; width: 100%; padding: 0; min-height: 0; border: 0; background: transparent; color: #845909; font: inherit; font-size: 11px; font-weight: 600; line-height: 14px; text-align: left; text-decoration: underline; white-space: normal; }
.pa-row-discount-alert span { display: block; }
.pa-state .pa-row-discount-alert:focus-visible { outline-offset: -2px; }
.pa-target input[type="text"] { box-sizing: border-box; width: 108px; max-width: 100%; min-height: 32px; text-align: right; padding: 4px 6px; font: inherit; }
.pa-target input[type="text"]:enabled { background: #f2f7ff; }
.pa-target input[aria-invalid="true"] { border-color: #a0232c; }
.pa-row-review { display: flex; align-items: center; justify-content: flex-end; gap: 3px; height: 17px; font-size: 11px; color: #845909; }
.pa-row-review[hidden] { display: none; }
.pa-row-review input { width: 13px; height: 13px; min-height: 0; padding: 0; margin: 0; accent-color: #174b96; }
.pa-state .pa-method-select { display: block; box-sizing: border-box; max-width: 100%; margin-top: 1px; padding: 0 2px; min-height: 0; height: 16px; font-size: 11px; color: #283a53; }
.pa-state .pa-method-select + small { margin-top: 1px; }
.pa-table .pa-empty { text-align: left; padding: 16px; }
.price-adjustment .pa-gain { color: #16704a; }
.price-adjustment .pa-warning { color: #845909; }
.price-adjustment .pa-error { color: #a0232c; }
.pa-footnote { line-height: 1.65; }
.pa-source-dialog { box-sizing: border-box; width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 18px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; color: #283a53; }
.pa-source-dialog::backdrop { background: rgb(22 35 52 / 30%); }
.pa-source-dialog h4 { margin: 0 0 6px; }
.pa-source-dialog p { margin: 0 0 14px; color: #46566d; }
.pa-source-dialog dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin: 0 0 16px; }
.pa-source-dialog dt { font-weight: 600; }
.pa-source-dialog dd { margin: 0; overflow-wrap: anywhere; }
.pa-source-dialog form { text-align: right; }
.pa-bulk-dialog { width: min(620px, calc(100vw - 32px)); }
.pa-bulk-dialog label { display: block; margin-bottom: 4px; font-weight: 600; }
.pa-bulk-dialog textarea { box-sizing: border-box; width: 100%; max-width: 100%; resize: vertical; font: inherit; padding: 8px; }
.pa-bulk-dialog #paBulkSummary { margin: 8px 0; }
.pa-bulk-dialog ol { max-height: 180px; overflow-y: auto; padding-left: 24px; margin: 8px 0 14px; overflow-wrap: anywhere; }
.pa-bulk-dialog ol:empty { display: none; }
.pa-bulk-dialog li { margin: 4px 0; }
.pa-action-dialog fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; border: 0; padding: 0; margin: 0 0 12px; text-align: left; }
.pa-action-dialog fieldset label { display: grid; gap: 4px; min-width: 0; }
.pa-action-dialog .pa-action-warning { color: #845909; }
.pa-action-dialog [hidden] { display: none !important; }
.pa-action-dialog #paActionStatus { margin: 10px 0; }
@media (max-width: 680px) {
  .pa-toolbar span { margin-left: 0; flex-basis: 100%; }
  .pa-table-region { max-height: 58vh; }
  .pa-table .pa-id { position: static; }
  .pa-table thead th:first-child { left: auto; }
}
.pa-auto-bounds:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: end; margin: 6px 0; }
.pa-auto-bounds label { display: grid; gap: 3px; font-size: 12px; }
.pa-auto-bounds input { width: 112px; }
.pa-auto-bounds small { flex-basis: 100%; }
