.customer-issuance{max-width:900px;gap:24px}
.customer-issuance-sections{display:grid;gap:0}
.customer-issuance-section{display:grid;gap:16px;padding:24px 0;border-bottom:1px solid var(--admin-line)}
.customer-issuance-section>header{min-height:0;margin:0;padding:0;border:0}
.customer-issuance-section>header h3{margin:0;font-size:16px;font-weight:500}
.customer-issuance-section label,.product-multi-picker label{font-size:13px;font-weight:400;color:var(--admin-muted)}
.customer-issuance-section :is(input:not([type=checkbox]),select,textarea),.product-multi-picker .search-field input{min-height:40px;border-radius:8px}
.customer-issuance-section textarea{resize:vertical;line-height:1.5}
.product-multi-picker{display:grid;gap:12px}
.product-multi-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.product-multi-picker-heading>span,.product-picker-status{margin:0;color:var(--admin-muted);font-size:12px}
.selected-product-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.selected-product-chips li{display:flex;align-items:center;gap:6px;min-height:32px;padding:1px 3px 1px 10px;border:1px solid var(--admin-line);border-radius:7px;background:var(--admin-raised)}
.selected-product-chips b{font-size:13px;font-weight:500;color:var(--admin-ink)}
.selected-product-chips button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;background:transparent;color:var(--admin-muted);cursor:pointer}
.selected-product-chips button:hover{color:var(--admin-ink)}
.selected-product-chips button:focus-visible{outline-offset:-2px}
.selected-product-chips svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.product-choice-list{max-height:248px;overflow:auto;margin:0;padding:0;list-style:none;border:0}
.product-choice-list li+li{border-top:1px solid var(--admin-line)}
.product-choice-list label{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 4px;cursor:pointer}
.product-choice-list label:hover{background:var(--admin-hover)}
.product-choice-list label[aria-disabled=true]{opacity:.55;cursor:not-allowed}
.product-choice-list label>span{display:grid;gap:2px}
.product-choice-list b{font-size:14px;font-weight:500;color:var(--admin-ink)}
.product-choice-list small{font-size:12px;font-weight:400;color:var(--admin-muted)}
.customer-license-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.4fr);gap:16px 24px;align-items:start}
.customer-license-grid>label{display:grid;gap:7px}
.customer-notes,.customer-license-grid .expiry-options{grid-column:1/-1}
.customer-capacity{display:grid;gap:10px;margin:0;padding:0;border:0}
.customer-capacity legend{margin-bottom:7px;color:var(--admin-muted);font-size:13px;font-weight:500}
.customer-capacity .checkbox-label{min-height:40px}
.compact-number-field{display:grid;grid-template-columns:auto 92px;align-items:center;gap:12px;width:max-content}
.compact-number-field input{width:92px}
.product-license-options{display:grid;gap:12px}
.product-license-options>header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;margin:0;padding:0;border:0;font-size:13px}
.product-license-options>header strong{font-weight:500}
.customer-issuance .product-overrides{padding:0;border:0;border-radius:0;background:none;align-items:start}
.customer-issuance .expiry-options{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:0;padding:0;border:0}
.customer-issuance .expiry-options>label{display:grid;gap:7px;min-width:150px}
.customer-issuance .expiry-options legend{margin-bottom:7px;font-size:13px}
.customer-issuance-sections>.composer-actions{padding-top:16px}
.customer-issuance-sections>.composer-errors{margin-top:16px;padding:0;border:0;border-radius:0;background:none}
.customer-issuance-review{box-shadow:none;border:1px solid var(--admin-line);border-radius:12px}
.customer-review-recipient,.customer-review-delivery,.customer-review-notes{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid var(--admin-line)}
.customer-review-delivery{grid-template-columns:1fr auto;align-items:center}
.customer-review-recipient>span,.customer-review-delivery>span,.customer-review-notes>span{color:var(--admin-muted);font-size:12px}
.customer-review-recipient small{color:var(--admin-muted)}
.customer-review-products{margin:0;padding:0;list-style:none}
.customer-review-products li{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--admin-line)}
.customer-review-products li>span{display:grid;gap:4px}
.customer-review-products small{color:var(--admin-muted)}
.customer-review-products strong{font-size:13px;font-variant-numeric:tabular-nums}
.customer-review-notes p{margin:0;white-space:pre-wrap}
@media(max-width:560px){.customer-license-grid{grid-template-columns:1fr}.customer-license-grid>*{grid-column:1}.customer-review-products li{align-items:flex-start;flex-direction:column;gap:6px}.compact-number-field{grid-template-columns:1fr;width:100%}}
@media(any-pointer:coarse){
  .selected-product-chips{column-gap:16px;row-gap:16px;padding:8px 14px 8px 0}
  .selected-product-chips button{position:relative}
  .selected-product-chips button::before{content:"";position:absolute;inset:-8px -14px -8px -2px}
}

/* Keep compact customer controls independent of the legacy batch form spacing. */
.customer-issuance>.preview-banner{margin:0}
.customer-issuance-section:first-child{padding-top:0}
.customer-issuance .recipient-selection{background:var(--admin-surface);border-color:var(--admin-line);border-radius:8px}
.customer-issuance-section :is(input:not([type=checkbox]),select){height:40px;padding-block:8px}
.customer-issuance-section select{padding-right:36px}
.customer-issuance .product-choice-list{max-height:196px}
.customer-issuance .composer-progress{padding:0;border:0;background:none;box-shadow:none}
.customer-issuance .composer-progress>.composer-totals{margin-bottom:16px}
@media(pointer:coarse){.customer-issuance-section :is(input:not([type=checkbox]),select){height:44px}}
