.stripe-purchase-dialog{color:#173c32;background:#fbfcf9;border:1px solid #cbd7cd;border-radius:18px;max-width:760px;width:calc(100% - 40px);max-height:90vh;overflow:auto;padding:24px;box-sizing:border-box;font:16px/1.5 system-ui}
.stripe-purchase-dialog::backdrop{background:rgba(5,28,21,.72)}
.stripe-purchase-dialog h2{font-size:24px;line-height:1.25}
.stripe-purchase-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.stripe-purchase-dialog label{display:block;margin:12px 0}
.stripe-purchase-dialog input:not([type=checkbox]),.stripe-purchase-dialog select{box-sizing:border-box;display:block;width:100%;padding:12px;font:inherit;border:1px solid #839c90;border-radius:7px;background:white;color:#173c32}
.stripe-consent{display:flex!important;gap:10px;align-items:start}
.stripe-consent input{margin-top:6px;flex:none}
.stripe-purchase-actions{display:flex;gap:12px;flex-wrap:wrap}
.stripe-purchase-actions button{font:inherit;cursor:pointer;padding:12px;border-radius:8px;border:1px solid #839c90}
.stripe-purchase-dialog [role=alert]{color:#9e2319}
#stripe-purchase-host{width:100%;max-width:720px;min-width:0;box-sizing:border-box;padding:20px;border:1px solid #cbd7cd;border-radius:12px;margin:20px 0}
#stripe-purchase-host .connect-button{max-width:100%;min-width:0;min-height:44px;height:auto;padding:12px 20px;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
@media(max-width:560px){.stripe-purchase-fields{grid-template-columns:1fr}.stripe-purchase-dialog{padding:18px}.stripe-purchase-actions button{width:100%}}
/* A paid unused credit takes priority, but never starts an audit on page load. */
#analyze-form.stripe-paid-credit-available button[type="submit"] { display: none; }

#stripe-purchase-host{grid-column:1/-1}
.dashboard-session[data-dashboard-view="audits"] #top>.audit-launchpad{grid-template-columns:minmax(0,1fr);align-items:start}
