/* Shared account subpage styles follow the supplied account-console prototype. */
main[data-account-section^="ai-account#"] .ai-account-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; margin:0 0 22px; padding:23px 26px; border:1px solid #eceef1; border-radius:18px; background:#fff; color:#3d4959; }
main[data-account-section^="ai-account#"] .ai-account-summary>div { min-width:0; padding-inline-end:16px; border-inline-end:1px solid #eceef1; }
main[data-account-section^="ai-account#"] .ai-account-summary>div:last-child { border:0; padding-inline-end:0; }
main[data-account-section^="ai-account#"] .ai-account-summary span { display:block; color:#919ba9; font-size:11px; line-height:20px; }
main[data-account-section^="ai-account#"] .ai-account-summary strong { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; margin-top:12px; font-size:23px; line-height:34px; font-weight:600; overflow-wrap:anywhere; }
main[data-account-section^="ai-account#"] .ai-account-summary>div:first-child strong { color:#b39223; }
main[data-account-section^="ai-account#"] .ai-account-summary small { color:#939dab; font-size:10px; font-weight:400; }
@media(max-width:900px) { main[data-account-section^="ai-account#"] .ai-account-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } main[data-account-section^="ai-account#"] .ai-account-summary>div:nth-child(2) { border:0; padding-inline-end:0; } }
@media(max-width:520px) { main[data-account-section^="ai-account#"] .ai-account-summary { gap:20px 14px; padding:20px 18px; } main[data-account-section^="ai-account#"] .ai-account-summary strong { font-size:21px; } }
main[data-account-section] :is(.console-main,.trading-console-main) { padding:38px 32px 48px!important; background:#f5f5f7!important; }
main[data-account-section] :is(.console-heading,.fund-title) { margin-bottom:26px; }
main[data-account-section] .console-heading .kicker,main[data-account-section] .console-heading>.btn { display:none; }
main[data-account-section] :is(.console-heading,.fund-title) h1 { margin:0 0 8px; font-size:23px!important; line-height:32px; font-weight:600; letter-spacing:-.3px; color:#20242b; }
main[data-account-section] :is(.console-heading,.fund-title) p { margin:0; font-size:12px; line-height:22px; color:#939ba6; }
main[data-account-section] :is(.workspace-panel,.account-section-card,.growth-path-card,.fund-card,.security-settings-card) { min-width:0; padding:26px; margin-bottom:24px; border:1px solid #e7ebf0; border-radius:18px; background:#fff; box-shadow:none; }
main[data-account-section] :is(.panel-heading,.account-section-card>header,.fund-card>header) { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:0 0 22px; }
main[data-account-section] :is(.panel-heading,.account-section-card>header,.fund-card>header) h2:not(.trading-valuation h2) { margin:0; font-size:18px; line-height:26px; font-weight:600; color:#29313d; }
main[data-account-section] :is(.panel-heading,.account-section-card>header,.fund-card>header)>a:not(.btn) { color:#939ba6; font-size:11px; line-height:20px; }
main[data-account-section] .data-scroll { max-width:100%; overflow-x:auto; }
main[data-account-section] .data-table { font-size:12px; text-align:start; }
main[data-account-section] .data-table th { padding:14px 12px; font-size:11px; line-height:20px; color:#939daa; background:#f8f9fb; font-weight:500; }
main[data-account-section] .data-table td { padding:18px 12px; color:#475364; border-color:#eceff3; }
main[data-account-section] .status-pill { border-radius:7px; font-size:10px; line-height:18px; }
main[data-account-section] .state-box { padding:38px 18px; border:1px dashed #dde2e9; border-radius:14px; background:transparent; }
main[data-account-section] .state-box h3 { color:#4d596a; font-size:16px; line-height:24px; }
main[data-account-section] .state-box p { color:#929eac; font-size:12px; line-height:22px; }
main[data-account-section] .btn { height:auto; min-height:40px; padding:10px 20px; border-radius:24px; font-size:12px; line-height:20px; font-weight:500; }
main[data-account-section] .btn.primary { background:#f0b90b; border-color:#f0b90b; color:#20242b; }
main[data-account-section] .btn.secondary { background:#f3f4f6; border-color:#f3f4f6; color:#505b6a; }
main[data-account-section] :is(.workspace-tabs,.account-section-tabs) { display:flex; flex-wrap:wrap; align-items:center; gap:20px; margin:0 0 24px; padding:0; border-bottom:1px solid #e9edf2; background:none; }
main[data-account-section] :is(.workspace-tabs,.account-section-tabs)>:is(a,button) { display:inline-flex; align-items:center; justify-content:center; min-height:42px; margin:0; padding:0 0 15px; border:0; border-bottom:2px solid transparent; border-radius:0; background:none; color:#929ca9; font:inherit; font-size:13px; line-height:22px; text-decoration:none; cursor:pointer; }
main[data-account-section] :is(.workspace-tabs,.account-section-tabs)>:is(.active,.selected,[aria-selected="true"]) { color:#29313b; border-bottom-color:#f0b90b; background:transparent; font-weight:600; }
main[data-account-section] :is(.workspace-tabs,.account-section-tabs)>:is(a,button):hover { color:#9a7400; }
main[data-account-section] .account-section-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
main[data-account-section] .account-section-filters button { padding:7px 17px; border:1px solid #e5e8ee; border-radius:18px; background:#fff; color:#8d98a8; font:inherit; font-size:12px; cursor:pointer; }
main[data-account-section] .account-section-filters button.selected { border-color:#f0b90b; background:#fff6d8; color:#8a6500; }
main[data-account-section] .account-balance-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(250px,1fr); align-items:start; gap:22px; }
main[data-account-section] .account-balance-primary { display:grid; gap:22px; }
main[data-account-section] .account-balance-primary>.account-section-card { margin:0; }
main[data-account-section] .trading-layout>.fund-card { margin:0; }
main[data-account-section] .account-section-total { display:flex; align-items:baseline; flex-wrap:wrap; gap:10px; margin:22px 0; color:#20242b; font-size:32px; font-weight:600; line-height:44px; overflow-wrap:anywhere; }
main[data-account-section] .account-section-total small { color:#929eac; font-size:12px; font-weight:400; line-height:20px; }
main[data-account-section] .account-value-toggle { display:grid; place-items:center; width:28px; height:28px; padding:4px; border:0; background:none; color:#929eac; cursor:pointer; }
main[data-account-section] .account-value-toggle svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; }
main[data-account-section] .account-value-toggle:not([aria-pressed="true"]) .visibility-slash { display:none; }
main[data-account-section] .account-section-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
main[data-account-section] .account-section-actions a { display:inline-flex; align-items:center; justify-content:center; padding:9px 20px; border-radius:22px; background:#f0b90b; color:#20242b; font-size:12px; line-height:20px; }
main[data-account-section] .account-section-actions a+a { background:#f2f3f5; color:#4e5867; }
main[data-account-section] .finance-section-card>.account-section-tabs { margin-top:28px; }
main[data-account-section] .account-section-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:220px; padding:24px 10px; text-align:center; }
main[data-account-section] .account-section-empty h3 { margin:0 0 10px; color:#465365; font-size:16px; line-height:24px; font-weight:600; }
main[data-account-section] .account-section-empty p { max-width:440px; margin:0; color:#949eac; font-size:12px; line-height:23px; }
main[data-account-section] .account-section-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:32px; margin-bottom:24px; border:1px solid #e8ebef; border-radius:18px; background:linear-gradient(110deg,#fff,#f6f7fa); }
main[data-account-section] .account-section-hero>div:first-child { min-width:0; }
main[data-account-section] .account-section-hero h2 { margin:0 0 12px; color:#394455; font-size:24px; line-height:34px; font-weight:600; }
main[data-account-section] .account-section-hero p { margin:0; max-width:620px; color:#929eac; font-size:12px; line-height:23px; }
main[data-account-section] .account-section-emblem { display:grid; place-items:center; flex:none; width:120px; height:120px; border:1px solid #eddfaf; border-radius:24px; background:#fff5cf; color:#a48b36; font-size:29px; line-height:40px; font-weight:600; text-align:center; }
main[data-account-section] .account-section-disclosure { margin-bottom:24px; padding:24px 26px; border:1px solid #e7ebf0; border-radius:18px; background:#fff; }
main[data-account-section] .account-section-disclosure summary { color:#465365; font-size:14px; cursor:pointer; }
main[data-account-section] .account-section-disclosure p:not(.growth-result) { color:#929eac; font-size:12px; line-height:23px; }
main[data-account-section] .account-form-controls { display:flex; flex-wrap:wrap; gap:18px; margin-bottom:22px; }
main[data-account-section] .account-record-filters { align-items:end; }
main[data-account-section] .account-form-controls label { display:grid; gap:9px; min-width:180px; max-width:100%; color:#596575; font-size:12px; }
main[data-account-section] :is(select:not(.growth-controls select):not(.wallet-layout select),input:not([type="checkbox"]):not([type="radio"]):not(.wallet-layout input)) { max-width:100%; min-height:42px; padding:10px 14px; border:1px solid #e3e7ee; border-radius:9px; background:#f9fafb; color:#465365; font:inherit; font-size:12px; }
main[data-account-section] .account-flow-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(220px,1fr); align-items:start; gap:22px; }
main[data-account-section] .account-flow-details { margin:0 0 24px; }
main[data-account-section] .account-flow-details>div { display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; padding:15px 0; border-bottom:1px solid #eceff3; font-size:12px; line-height:22px; }
main[data-account-section] .account-flow-details dt { color:#929eac; }
main[data-account-section] .account-flow-details dd { min-width:0; margin:0; color:#455164; overflow-wrap:anywhere; }
main[data-account-section] .account-address-grid { display:grid; gap:14px; }
main[data-account-section] .account-address-grid>article { min-width:0; padding:20px; border:1px solid #e8ecf1; border-radius:12px; }
main[data-account-section] .account-address-grid h3 { margin:0 0 12px; color:#465365; font-size:14px; }
main[data-account-section] .account-address-grid p { margin:0; color:#929eac; font-size:12px; overflow-wrap:anywhere; }
main[data-account-section] .account-transfer-route { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; padding:20px; margin-bottom:24px; border-radius:12px; background:#f8f9fb; color:#465365; font-size:16px; }
main[data-account-section] .account-transfer-route b { color:#aa923e; }
main[data-account-section] .account-products-grid,main[data-account-section="invest"] [data-workspace]>.product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
main[data-account-section] .product-card { min-width:0; padding:22px; border:1px solid #e4e9ef; border-radius:14px; box-shadow:none; background:#fff; color:#465365; }
main[data-account-section] .product-card h3 { color:#394455; font-size:20px; line-height:28px; }
main[data-account-section] .product-visual { height:100px; }
main[data-account-section] .product-visual img { max-height:100px; object-fit:contain; }
main[data-account-section] .account-products-grid .product-visual,main[data-account-section] .account-products-grid .product-card>small { display:none; }
main[data-account-section] .account-products-grid .product-card h3 { margin:20px 0 18px; }
/* Four published AI tiers per row, following the supplied account prototype. */
main[data-account-section] .matrix-description { margin:0 0 20px; color:#949faf; font-size:11px; line-height:23px; }
main[data-account-section] .account-product-matrix-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
main[data-account-section] .matrix-product { --tier:#6bafff; display:flex; flex-direction:column; min-width:0; padding:21px; border:1px solid #e7ebf0; border-top:2px solid color-mix(in srgb,var(--tier) 50%,white); border-radius:14px; background:linear-gradient(180deg,color-mix(in srgb,var(--tier) 5%,white),white 42%); }
main[data-account-section] .matrix-product:nth-child(8n+2) { --tier:#a28bff; }
main[data-account-section] .matrix-product:nth-child(8n+3) { --tier:#55d5ad; }
main[data-account-section] .matrix-product:nth-child(8n+4) { --tier:#ffa561; }
main[data-account-section] .matrix-product:nth-child(8n+5) { --tier:#f479b6; }
main[data-account-section] .matrix-product:nth-child(8n+6) { --tier:#6de0df; }
main[data-account-section] .matrix-product:nth-child(8n+7) { --tier:#eac663; }
main[data-account-section] .matrix-product:nth-child(8n+8) { --tier:#a6b8ce; }
main[data-account-section] .matrix-product>header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px; min-height:16px; color:#9aa3af; font-size:9px; line-height:16px; letter-spacing:.8px; }
main[data-account-section] .matrix-product-status { color:#929ba7; letter-spacing:0; }
main[data-account-section] .matrix-product h3 { margin:8px 0 19px; color:#3c4858; font-size:20px; line-height:28px; font-weight:600; overflow-wrap:anywhere; }
main[data-account-section] .matrix-product-price { color:#283342; font-size:25px; font-weight:600; line-height:34px; letter-spacing:-.5px; overflow-wrap:anywhere; }
main[data-account-section] .matrix-product-price small { color:#8793a3; font-size:11px; font-weight:400; letter-spacing:0; }
main[data-account-section] .matrix-product-cycle { margin:14px 0 16px; padding-top:14px; border-top:1px solid #edf0f3; color:#8793a3; font-size:11px; line-height:19px; }
main[data-account-section] .matrix-product-yields { display:grid; gap:11px; margin:0 0 19px; }
main[data-account-section] .matrix-product-yields>div { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:5px; }
main[data-account-section] .matrix-product-yields dt { color:#8995a5; font-size:10px; line-height:18px; }
main[data-account-section] .matrix-product-yields dd { margin:0; color:#58677b; font-size:12px; font-weight:500; line-height:18px; overflow-wrap:anywhere; }
main[data-account-section] .matrix-product-yields small { color:#9aa4b1; font-size:9px; font-weight:400; }
main[data-account-section] .matrix-product-action { display:flex; align-items:center; justify-content:center; min-height:38px; margin-top:auto; padding:10px 12px; border-radius:20px; background:#f0b90b; color:#30343b; font-size:12px; line-height:18px; font-weight:500; text-align:center; }
main[data-account-section] .matrix-product-action:hover { background:#f7ca35; }
@media(max-width:1100px) { main[data-account-section] .account-product-matrix-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) { main[data-account-section] .account-product-matrix-grid { grid-template-columns:minmax(0,1fr); } }
main[data-account-section] .product-card>strong { color:#394455; font-size:25px; }
main[data-account-section] .product-card dl { margin:18px 0; }
main[data-account-section] .product-card .btn { width:100%; }
main[data-account-section] .account-referrals { display:flex; flex-direction:column; }
main[data-account-section] .account-referrals.is-invite>.stat-grid { order:2; }
main[data-account-section] .account-referrals.is-invite>.workspace-panel { order:3; }
main[data-account-section] .account-invite-hero { position:relative; padding:40px 32px; margin-bottom:24px; overflow:hidden; border:1px solid #eee5c9; border-radius:20px; background:linear-gradient(125deg,#fff9df,#fff 70%); }
main[data-account-section] .account-invite-hero>h2 { position:relative; margin:12px 0; color:#394455; font-size:32px; line-height:44px; font-weight:600; }
main[data-account-section] .account-invite-hero>p { position:relative; margin:0 0 24px; color:#939daa; font-size:13px; line-height:23px; }
main[data-account-section] .account-invite-symbol { position:absolute; inset-inline-end:35px; top:38px; color:#ecd275; }
main[data-account-section] .account-invite-symbol svg { width:110px; height:110px; fill:none; stroke:currentColor; stroke-width:1.3; }
main[data-account-section] .account-invite-hero .invite-card { display:block; padding:0; margin:0; border:0; border-radius:0; background:none; box-shadow:none; }
main[data-account-section] .account-invite-hero .invite-card>div { position:relative; }
main[data-account-section] .account-invite-hero .invite-card p { margin:12px 0; color:#8f99a7; font-size:12px; line-height:22px; overflow-wrap:anywhere; }
main[data-account-section] .account-invite-hero .invite-card strong { display:block; margin:12px 0; color:#68714b; font-size:27px; line-height:38px; }
main[data-account-section] .account-invite-hero .btn { margin-inline-end:10px; }
main[data-account-section] .stat-grid { gap:18px; margin-bottom:24px; }
main[data-account-section] .stat-grid article { padding:24px; border:1px solid #e7ebf0; border-radius:16px; background:#fff; box-shadow:none; }
main[data-account-section] .stat-grid strong { color:#394455; font-size:28px; }
main[data-account-section] .account-reward-rate-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:24px; }
main[data-account-section] .account-reward-rate-grid article { padding:22px; border:1px solid #e7ebf0; border-radius:16px; background:#fff; }
main[data-account-section] .account-reward-rate-grid span { display:block; margin-bottom:12px; color:#929eac; font-size:12px; }
main[data-account-section] .account-reward-rate-grid strong { color:#aa8d32; font-size:26px; }
main[data-account-section] .account-gift-progress p { margin:0 0 14px; color:#929eac; font-size:12px; }
main[data-account-section] .account-gift-progress progress { width:100%; height:8px; accent-color:#f0b90b; }
main[data-account-section] .account-gift-tasks { display:grid; gap:0; padding:0; margin:24px 0; list-style:none; }
main[data-account-section] .account-gift-tasks li { display:flex; align-items:center; gap:14px; padding:20px 0; border-bottom:1px solid #eceff3; }
main[data-account-section] .account-gift-tasks li>b { display:grid; place-items:center; flex:none; width:30px; height:30px; border-radius:50%; background:#fff4c9; color:#a78c31; font-size:12px; }
main[data-account-section] .account-gift-tasks strong { flex:1; color:#465365; font-size:13px; font-weight:500; }
main[data-account-section] .account-gift-tasks span { color:#939eac; font-size:11px; }
main[data-account-section] .account-gift-tasks .completed { color:#26916a; }
main[data-account-section] .account-verification-intro { display:flex; align-items:center; flex-wrap:wrap; gap:22px; }
main[data-account-section] .account-verification-intro>div:nth-child(2) { flex:1; min-width:0; }
main[data-account-section] .account-verification-intro h2 { margin:0 0 12px; color:#394455; font-size:21px; }
main[data-account-section] .account-verification-intro p { color:#939eac; font-size:12px; }
main[data-account-section] .account-verification-emblem { display:grid; place-items:center; flex:none; width:72px; height:72px; border-radius:20px; background:#fff5cf; color:#a38a36; font-size:38px; }
main[data-account-section] .account-section-copy { color:#929eac; font-size:12px; line-height:23px; }
main[data-account-section] :is(a,button,input,select):focus-visible { outline:2px solid #bf9b36; outline-offset:3px; }
@media(max-width:1150px) {
  main[data-account-section] .account-balance-layout,main[data-account-section] .account-flow-layout { grid-template-columns:1fr; }
  main[data-account-section] .account-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
  main[data-account-section] :is(.console-main,.trading-console-main) { padding:26px 18px 40px!important; }
  main[data-account-section] :is(.workspace-panel,.account-section-card,.growth-path-card,.fund-card,.security-settings-card) { padding:22px 18px; }
  main[data-account-section] .account-products-grid { grid-template-columns:1fr; }
  main[data-account-section] .account-section-hero { padding:24px 20px; }
  main[data-account-section] .account-section-hero h2 { font-size:21px; line-height:30px; }
  main[data-account-section] .account-section-emblem { display:none; }
  main[data-account-section] .account-invite-hero { padding:28px 20px; }
  main[data-account-section] .account-invite-symbol { display:none; }
  main[data-account-section] .account-reward-rate-grid { gap:8px; }
  main[data-account-section] .account-reward-rate-grid article { padding:16px 10px; }
  main[data-account-section] .account-reward-rate-grid strong { font-size:22px; }
  main[data-account-section] .account-verification-emblem { width:48px; height:48px; font-size:26px; }
  main[data-account-section] :is(.workspace-tabs,.account-section-tabs) { gap:16px; }
}
