.customerVoucherPage .bankMain{display:flex;flex-direction:column;min-height:0;gap:8px}
.customerVoucherToolbar{display:flex;flex-wrap:wrap;gap:6px}.customerVoucherToolbar button{padding:9px 12px}.customerVoucherToolbar button[aria-pressed=true]{background:var(--accent,#2563eb);color:white}
.customerVoucherPreview{height:230px;min-height:150px;flex-shrink:0}.customerVoucherPreview[hidden]{display:none}
.customerVoucherHeader{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px;padding:12px;border:1px solid var(--border,#d1d5db)}
.customerVoucherHeader label,.customerVoucherType{display:flex;flex-direction:column;gap:5px}.customerVoucherHeader input{min-width:0;width:100%;box-sizing:border-box;padding:7px}
.customerVoucherType{padding:12px}.customerVoucherType select{width:100%;padding:7px}.customerVoucherPreviewToggle{display:flex;gap:6px;padding:12px}
.customerVoucherBottom{display:flex;align-items:center;gap:20px}.customerVoucherBottom textarea{flex:1;min-height:70px}.customerVoucherBottom strong{padding:16px;white-space:nowrap}
@media(max-width:900px){.customerVoucherHeader{grid-template-columns:repeat(2,minmax(120px,1fr))}.customerVoucherPreview{height:180px}.customerVoucherBottom{flex-wrap:wrap}}
.customerVoucherEditor{width:min(1700px,96vw);max-width:96vw;height:min(950px,92vh);max-height:92vh}.customerVoucherEditor>form{display:flex;flex-direction:column;height:100%;gap:10px}.customerVoucherEditGrid{flex:1;min-height:250px}.customerVoucherEditGrid td input,.customerVoucherEditGrid td select{width:100%;min-width:0;box-sizing:border-box;padding:5px}.customerVoucherEditGrid td button{max-width:100%;overflow:hidden;text-overflow:ellipsis}.customerVoucherEditor .customerVoucherHeader{flex-shrink:0}.customerVoucherCodeDialog{width:min(900px,90vw)}
.customerVoucherHeader label[hidden]{display:none}
