/* V333: header stays aligned when the stepwise back button is present. */
html body #modalWrap .dm-card-dialog>.dm-wallet-screen-head{display:flex!important;flex-wrap:nowrap!important;gap:8px!important}
html body #modalWrap .dm-card-dialog>.dm-wallet-screen-head h2{flex:1 1 auto!important;min-width:0!important;order:1!important;overflow-wrap:normal!important;word-break:normal!important;line-height:1.25!important;font-size:17px!important;text-align:left!important}
html body #modalWrap .dm-card-dialog>.dm-wallet-screen-head .dm-modal-back318{order:0!important;flex:0 0 auto!important;min-width:0!important;width:auto!important;padding:8px!important;font-size:12px!important;white-space:nowrap!important}
html body #modalWrap .dm-card-dialog>.dm-wallet-screen-head>button[aria-label="Dettagli tessera"]{order:2!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:40px!important}
html body #modalWrap .dm-card-dialog>.dm-wallet-screen-head>button[aria-label="Chiudi tessera"]{order:3!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:40px!important}
html body #modalWrap .dm-card-dialog .dm-wallet-actions{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;gap:8px!important}
html body #modalWrap .dm-card-dialog .dm-wallet-actions>button{min-width:0!important;width:100%!important;min-height:68px!important}
html body #modalWrap .dm-card-dialog .dm-wallet-actions>button:disabled{opacity:.45;cursor:wait}
html body #modalWrap .dm-card-dialog [data-card-whatsapp333] small{display:block;margin-top:12px;font-size:12px;line-height:1.5}
html body #modalWrap .dm-card-dialog .dm-wallet-pass{width:100%!important;box-sizing:border-box!important;min-width:0!important}
