/* AI quick-start dialog follows the original account-console prototype. */
.ai-quick-dialog { box-sizing:border-box; width:min(350px,calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 32px); margin:auto; padding:28px; border:0; border-radius:20px; background:#fff; color:#303b4a; overflow-y:auto; overscroll-behavior:contain; text-align:start; }
.ai-quick-dialog::backdrop { background:#20263066; backdrop-filter:none; -webkit-backdrop-filter:none; }
.ai-quick-dialog h2 { margin:0 0 24px; color:#303b4a; font-size:20px; line-height:30px; font-weight:600; overflow-wrap:anywhere; }
.ai-quick-summary { padding:20px; border-radius:12px; background:#f7f8fa; text-align:center; }
.ai-quick-summary>strong { display:block; color:#303b4a; font-size:25px; line-height:35px; font-weight:600; overflow-wrap:anywhere; }
.ai-quick-summary>p,.ai-quick-balance { color:#929ba8; font-size:12px; line-height:21px; }
.ai-quick-summary>p { margin:12px 0; }
.ai-quick-yields { display:grid; gap:12px; margin:18px 0 0; text-align:start; }
.ai-quick-yields>div { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:6px; }
.ai-quick-yields dt { color:#8995a5; font-size:11px; line-height:20px; }
.ai-quick-yields dd { margin:0; color:#58677b; font-size:12px; line-height:20px; font-weight:600; overflow-wrap:anywhere; }
.ai-quick-yields small { color:#929ba8; font-size:9px; font-weight:400; }
.ai-quick-balance { margin:18px 0; text-align:center; overflow-wrap:anywhere; }
.ai-quick-dialog details { margin:18px 0; padding:0; border:0; color:#8c96a4; font-size:11px; line-height:21px; }
.ai-quick-dialog summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; border:0; border-radius:8px; background:#f7f8fa; color:#8893a3; font-size:11px; line-height:21px; list-style:none; cursor:pointer; }
.ai-quick-dialog summary::-webkit-details-marker { display:none; }
.ai-quick-dialog summary:before { content:none; display:none; }
.ai-quick-dialog summary:after { content:''; flex:none; width:6px; height:6px; margin-inline-end:3px; border:solid #97a1af; border-width:0 1.3px 1.3px 0; transform:rotate(45deg); }
.ai-quick-dialog details[open] summary:after { content:''; transform:rotate(225deg); }
.ai-quick-dialog details p { margin:10px 0; padding:0 12px; font-size:11px; line-height:21px; }
.ai-quick-primary { display:block; width:100%; padding:12px; border:0; border-radius:24px; background:#f0b90b; color:#20242b; font:inherit; font-size:13px; line-height:22px; text-align:center; text-decoration:none; cursor:pointer; }
.ai-quick-primary:disabled { background:#eceef1; color:#929ba8; cursor:default; }
.ai-quick-cancel { display:block; width:100%; margin-top:14px; padding:8px; border:0; background:none; color:#929ba8; font:inherit; font-size:14px; line-height:22px; cursor:pointer; }
.ai-quick-dialog :is(a,button,summary):focus-visible { outline:2px solid #b39223; outline-offset:3px; }
main[data-account-section] button.matrix-product-action { width:100%; border:0; font-family:inherit; cursor:pointer; }
body:has(main[data-account-section^="ai-account#"]) .support-widget { pointer-events:none; }
body:has(main[data-account-section^="ai-account#"]) .support-fab,
body:has(main[data-account-section^="ai-account#"]) .support-widget.open .support-panel { pointer-events:auto; }
@media(max-width:400px) { .ai-quick-dialog { padding:24px; } }

.ai-quick-dialog { color-scheme:light; }
.ai-quick-dialog .ai-quick-yields>div { display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.ai-quick-dialog .ai-quick-yields dt { font-size:12px; }
.ai-quick-dialog .ai-quick-yields dd { margin:0; text-align:end; font-size:12px; }
.ai-quick-dialog .ai-quick-note { margin:14px 0; color:#7b8798; font-size:12px; line-height:21px; }
.ai-quick-dialog .ai-quick-agree { display:flex; align-items:flex-start; gap:8px; margin:16px 0; color:#69778b; font-size:12px; line-height:21px; }
.ai-quick-dialog .ai-quick-agree input { appearance:auto; flex:none; width:16px; height:16px; padding:0; margin:2px 0 0; accent-color:#f0b90b; }
.ai-quick-dialog .ai-quick-terms { max-height:200px; overflow:auto; overscroll-behavior:contain; overflow-wrap:anywhere; }
.ai-quick-dialog .ai-quick-primary { box-sizing:border-box; min-height:44px; margin-top:18px; }
.ai-quick-dialog [role="alert"] { color:#b33e45; font-size:12px; line-height:21px; overflow-wrap:anywhere; }
