/* Scoped only to the payment form inside existing V40 validationFrame. */
#square-private-form {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;max-width:100%;}
#square-private-form label {display:grid;gap:6px;min-width:0;overflow-wrap:anywhere;}
#square-private-form input,#square-private-form select {box-sizing:border-box;width:100%;min-width:0;max-width:100%;font-size:16px;}
#square-private-card,#square-private-total,#square-private-status {min-width:0;max-width:100%;overflow-wrap:anywhere;}
#square-private-form button,#square-private-pay,#square-private-reconcile,#square-private-close {white-space:normal;max-width:100%;min-height:44px;}
@media (min-width:768px){#square-private-form {grid-template-columns:repeat(2,minmax(0,1fr));}#square-private-form button {grid-column:1/-1;}}
@media (max-height:500px) and (orientation:landscape){dialog:has(#square-private-form){max-height:94dvh;overflow-y:auto;}}
