
.ainvestor-upgrade-dialog { width:min(900px,calc(100vw - 28px)); max-width:calc(100vw - 28px); max-height:90dvh; box-sizing:border-box; padding:0; border:1px solid #a9c9e9; border-radius:16px; color:#15304c; background:#fff; box-shadow:0 20px 70px #0005; }
.ainvestor-upgrade-dialog::backdrop { background:#08152799; }
.ainvestor-upgrade-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 24px; border-bottom:1px solid #d6e4f1; background:#f0f6ff; }
.ainvestor-upgrade-dialog-header h2 { margin:0; font-size:20px; color:#15304c !important; }
.ainvestor-upgrade-dialog .ainvestor-upgrade-close { flex:none; min-width:44px; min-height:44px; border:1px solid #bad1e6; border-radius:8px; background:#fff; color:#15304c !important; font-size:28px; }
.ainvestor-upgrade-dialog-body { padding:24px; overflow:auto; overflow-wrap:anywhere; }
.ainvestor-upgrade-dialog-body main,.ainvestor-upgrade-dialog-body section { max-width:100%; margin:0; box-sizing:border-box; }
.ainvestor-upgrade-dialog-body .upgrade-confirmation { padding:0; border:0; background:transparent; }
.ainvestor-upgrade-dialog-body h1 { margin-top:0; font-size:26px; line-height:1.3; }
.ainvestor-upgrade-dialog-body h2 { font-size:22px; }
.ainvestor-upgrade-dialog-body p { line-height:1.6; }
.ainvestor-upgrade-dialog-body form { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.ainvestor-upgrade-dialog-body input,.ainvestor-upgrade-dialog-body select { max-width:100%; min-height:44px; box-sizing:border-box; }
.ainvestor-upgrade-dialog-body button,.ainvestor-upgrade-dialog-body a.btn { display:inline-block; padding:10px 16px; min-height:44px; border:1px solid #086bc5; border-radius:8px; background:#086bc5; color:#fff !important; font-weight:700; text-decoration:none; cursor:pointer; }
.ainvestor-upgrade-context-note { margin:20px 0 0; font-size:13px; color:#405e7c; }
.ainvestor-upgrade-dialog-body .checkout-stripe-signature { display:inline-flex; gap:6px; align-items:center; padding:6px 10px; background:#fff; color:#425466; font-size:12px; text-decoration:none; }
.ainvestor-upgrade-dialog-body .checkout-stripe-signature img { width:46px; height:auto; }
@media(max-width:600px) { .ainvestor-upgrade-dialog { width:calc(100vw - 16px); max-width:calc(100vw - 16px); max-height:94dvh; } .ainvestor-upgrade-dialog-header,.ainvestor-upgrade-dialog-body { padding:16px; } .ainvestor-upgrade-dialog-header h2 { font-size:18px; } .ainvestor-upgrade-dialog-body h1 { font-size:22px; } }
