#semiAutoAbcpBtn { white-space: nowrap; }
#semiAutoAbcpBtn[hidden] { display: none !important; }
.abcpBatchBackdrop[hidden], .abcpBatchModal [hidden] { display: none !important; }
.abcpBatchBackdrop { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.55); }
.abcpBatchModal { width: min(1040px,95vw); max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; color: var(--text,#e8e8ea); background: #191d25; border: 1px solid var(--border,rgba(255,255,255,.14)); border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.4); }
.abcpBatchHead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 18px 5px; }
.abcpBatchHead h2 { margin: 0; font-size: 15px; font-weight: 600; }
.abcpBatchHead .abcpBatchClose { width: 30px; height: 30px; min-height: 30px; padding: 0; font-size: 20px; border: 0; background: transparent; color: var(--muted); }
.abcpBatchToolbar { display: flex; align-items: center; gap: 7px; min-height: 22px; padding: 0 18px 2px; }
.abcpBatchToolbar .btn, .abcpBatchFoot .btn { min-height: 30px; padding: 6px 12px; font-size: 12px; border-radius: 9px; }
.abcpBatchToolbar label, .abcpBatchConfirm { display: flex; align-items: center; gap: 7px; font-size: 12px; cursor: pointer; }
.abcpBatchStatus { flex: 1; margin: 0; padding: 0; font-size: 11px; color: var(--muted,#b6bdca); }
.abcpBatchStatus:empty { display: none; }
.abcpBatchRows { overflow: auto; overscroll-behavior: contain; padding: 0 18px 4px; }
.abcpBatchRow { padding: 5px 0; border-top: 1px solid rgba(255,255,255,.08); }
.abcpBatchRow > header { display: flex; align-items: center; gap: 12px; min-height: 25px; }
.abcpBatchRow > header > label { display: flex; align-items: center; gap: 7px; cursor: pointer; min-width: 0; flex: 1; }
.abcpBatchItemName { font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abcpBatchModal input[type="checkbox"] { accent-color: #a39af1; flex: 0 0 auto; margin: 0; width: 13px; height: 13px; }
.abcpBatchItemMeta { display: inline-flex; align-items: center; gap: 14px; color: var(--muted,#a9afbd); font-size: 11px; white-space: nowrap; }
.abcpBatchItemMeta code { font-family: inherit; color: inherit; }
.abcpBatchNoOem { padding: 3px 0; color: var(--muted); }
.abcpBatchNoOem .abcpBatchItemName { font-size: 11px; }
.abcpBatchUnavailable { font-size: 11px; color: var(--muted); white-space: nowrap; }
.abcpBatchChoice { position: relative; margin: 4px 0 0 22px; }
.abcpBatchOffer { display: grid; grid-template-columns: minmax(100px,1fr) 108px 78px 104px minmax(130px,1.5fr) 80px; align-items: center; column-gap: 10px; height: 34px; box-sizing: border-box; padding: 4px 6px; border: 0; border-radius: 5px; font-size: 12px; line-height: 1.4; }
.abcpBatchOffer > span:not(.abcpOfferAction), .abcpOfferPrice { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abcpChosenOffer { background: rgba(255,255,255,.035); }
.abcpOfferPrice { font-size: 12px; font-weight: 500; color: var(--text); }
.abcpOfferStock, .abcpOfferDelivery, .abcpOfferSupplier { color: var(--muted,#b6bdca); }
.abcpOfferAction { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; }
.abcpChosenOffer .abcpOfferAction { padding-right: 25px; }
.abcpOfferWarning { display: inline-flex; align-items: center; justify-content: center; width: 13px; height: 13px; border: 1px solid #a99b7b; border-radius: 50%; color: #d5c5a0; font-size: 10px; cursor: help; }
.abcpOfferChoose { padding: 3px 5px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; }
.abcpOfferChoose:hover { background: rgba(255,255,255,.06); color: var(--text); }
.abcpOfferChoose:disabled { opacity: .4; cursor: default; }
.abcpBatchNotice { color: #d5c5a0; font-size: 12px; line-height: 1.5; margin: 5px 0 0 22px; }
.abcpBatchChoice > .abcpBatchNotice { min-height: 34px; display: flex; align-items: center; margin: 0; }
.abcpBatchConfirm { margin: 5px 0 0 28px; color: #d5c5a0; font-size: 11px; }
.abcpBatchAlternatives { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.abcpBatchAlternatives summary { position: absolute; right: 0; top: 0; width: 28px; height: 34px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 5px; padding: 0; background: transparent; cursor: pointer; list-style: none; }
.abcpBatchAlternatives summary::-webkit-details-marker { display: none; }
.abcpBatchAlternatives summary::marker { content: ""; }
.abcpBatchAlternatives summary:hover { background: rgba(255,255,255,.06); }
.abcpBatchAlternatives summary .clientProfileBtnCaret { font-size: 10px; line-height: 1; transition: transform .15s ease; }
.abcpBatchAlternatives[open] summary .clientProfileBtnCaret { transform: rotate(180deg); }
.abcpBatchOfferList { margin-top: 3px; border-top: 1px solid rgba(255,255,255,.06); }
.abcpBatchOfferList .abcpBatchOffer:hover { background: rgba(255,255,255,.025); }
.abcpBatchApplied { color: #9fc5ad; font-size: 12px; }
.abcpBatchFoot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 9px 18px; border-top: 1px solid rgba(255,255,255,.1); }
@media (max-width: 760px) {
  .abcpBatchBackdrop { padding: 8px; }
  .abcpBatchModal { width: 100%; max-height: 95dvh; }
  .abcpBatchHead { padding: 10px 12px 8px; }
  .abcpBatchToolbar { padding: 0 12px 2px; }
  .abcpBatchStatus { padding: 0; }
  .abcpBatchRows { padding: 0 10px 4px; }
  .abcpBatchRow { min-width: 700px; }
  .abcpBatchFoot { padding: 9px 12px; }
}
