.po-batch-operation-picker {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 20px;
}
.po-batch-operation-picker > label {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.po-batch-operation-picker > .btn {
  flex: none;
  margin-bottom: 0;
}
.po-batch-operation {
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-border-radius-lg, 8px);
  margin-bottom: 16px;
  overflow: visible;
  background: var(--tblr-bg-surface);
}
.po-batch-operation > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tblr-border-color);
  background: var(--tblr-bg-surface-secondary);
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.po-batch-operation > header > span {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.po-batch-operation > header small {
  color: var(--tblr-secondary-color);
  font-weight: 400;
}
.po-batch-operation > header > .btn {
  flex: none;
}
.po-batch-operation-body {
  padding: 16px;
  display: grid;
  gap: 12px;
}
.po-batch-operation-body .form-label {
  display: block;
  margin: 0 0 12px;
}
.po-batch-operation-body .form-label:last-child {
  margin-bottom: 0;
}
.po-batch-operation-body .form-control,
.po-batch-operation-body .form-select {
  margin-top: 6px;
}
.po-batch-operation-body textarea.form-control {
  height: auto !important;
  min-height: 112px;
  resize: vertical;
}
.po-batch-operation-body .form-hint {
  margin: 0;
}
.po-batch-owner-picker {
  display: grid;
  gap: 4px;
}
.po-batch-empty {
  padding: 28px 16px;
  text-align: center;
  border: 1px dashed var(--tblr-border-color);
  border-radius: 8px;
  color: var(--tblr-secondary-color);
}
.po-batch-empty > .ti {
  display: block;
  font-size: 28px;
  margin-bottom: 12px;
}
.po-blip-batch .po-form-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.po-blip-batch .po-form-footer > [data-error] {
  flex-basis: 100%;
  overflow-wrap: anywhere;
}
.po-blip-batch .po-form-footer > .btn {
  width: auto !important;
  flex: 0 0 auto !important;
}
.po-blip-batch [hidden] {
  display: none !important;
}
.po-batch-review-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--tblr-border-color);
  border-radius: 8px;
  background: var(--tblr-primary-lt);
  margin-bottom: 20px;
}
.po-batch-review-summary > strong {
  font-size: 20px;
}
.po-batch-review-operations {
  padding-left: 24px;
}
.po-batch-review-operations li {
  padding: 6px 0;
}
.po-batch-review-operations p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--tblr-secondary-color);
  margin: 6px 0 0;
}
.po-batch-review-detail {
  border: 1px solid var(--tblr-border-color);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 12px;
}
.po-batch-review-detail > summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 24px;
}
.po-batch-review-detail > ul {
  margin-top: 12px;
  padding-left: 20px;
}
.po-batch-review-detail > article {
  margin-top: 16px;
}
.po-batch-diff {
  padding: 12px 0;
  border-top: 1px solid var(--tblr-border-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.po-batch-diff > strong {
  grid-column: 1/-1;
}
.po-batch-diff > div {
  min-width: 0;
}
.po-batch-diff span {
  color: var(--tblr-secondary-color);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.po-batch-diff p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  max-height: 160px;
  overflow: auto;
  margin: 4px 0 0;
}
@media (max-width: 575px) {
  .po-batch-operation-picker {
    flex-wrap: wrap;
  }
  .po-batch-operation-picker > label {
    flex-basis: 100%;
  }
  .po-batch-operation > header,
  .po-batch-operation-body {
    padding: 12px;
  }
  .po-batch-operation > header small {
    flex-basis: 100%;
  }
  .po-batch-diff {
    grid-template-columns: 1fr;
  }
  .po-blip-batch .po-form-footer {
    gap: 8px;
  }
}

.po-blip-batch .po-form-footer > [data-error]:empty {
  display: none;
}

.po-blip-batch .po-record-section > .card-body > p.form-hint:first-child {
  margin-bottom: 16px;
}
.po-blip-batch [data-editor] > p.form-hint {
  margin-bottom: 16px;
}

.po-blip-batch .po-batch-operation-picker>label{margin:0!important}
.po-blip-batch [data-editor]{display:grid;gap:16px}
.po-blip-batch [data-editor] .form-label{margin:0!important}
.po-blip-batch [data-editor]>.form-hint{margin:0}
.po-blip-batch .po-batch-owner-picker{gap:16px}
.po-blip-batch [data-editor] label>.form-hint{display:block;margin-top:8px}

.po-blip-batch .po-form-footer>[data-error]:not(:empty){display:block;max-height:96px;overflow:auto;margin:0;padding:8px 12px;border-left:3px solid currentColor;background:var(--tblr-bg-surface-secondary);text-align:left}
.po-batch-target-picker{display:grid;gap:10px}.po-batch-target-picker [data-target-results]{margin:0;padding:0;min-width:0;border:1px solid var(--tblr-border-color);border-radius:8px;max-height:240px;overflow:auto}.po-batch-target-option{display:flex;align-items:center;gap:12px;padding:12px;margin:0;cursor:pointer;border-bottom:1px solid var(--tblr-border-color)}.po-batch-target-option:last-child{border-bottom:0}.po-batch-target-option:has(input:checked){background:var(--tblr-primary-lt)}.po-batch-target-option:focus-within{outline:2px solid var(--tblr-primary);outline-offset:-2px}.po-batch-target-option>input.form-check-input{float:none;margin:0!important;flex:none}.po-batch-target-option>span{min-width:0}.po-batch-target-option strong,.po-batch-target-option small{display:block;overflow-wrap:anywhere}.po-batch-target-option small{color:var(--tblr-secondary-color)}.po-batch-target-picker [data-target-selected]{margin:0;font-size:13px;color:var(--tblr-secondary-color)}
