/* Information architecture closeout: scoped to Home and Account. */
.ha-shell{width:min(100% - 32px,1120px);margin:0 auto;padding:24px 0 28px;color:var(--text-primary,#17263c)}
.ha-shell .card{border-radius:16px;border:1px solid var(--border-color,#dce6f1);background:var(--surface-card,#fff);box-shadow:none}
.ha-shell h1,.ha-shell h2,.ha-shell h3,.ha-shell p{margin:0}
.ha-shell h1{font-size:28px;font-weight:800;line-height:1.35}
.ha-shell h2{font-size:16px;font-weight:750;line-height:1.5}
.ha-shell h3{font-size:14px;font-weight:700}
.ha-shell .btn{min-height:40px;border-radius:10px;font-size:13px;white-space:nowrap}
.ha-shell .hidden{display:none!important}
.ha-muted{color:var(--text-secondary,#63748b);font-size:12px;line-height:1.6}
.ha-icon{width:38px;height:38px;border-radius:11px;background:#edf5ff;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.ha-welcome{padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;background:linear-gradient(120deg,#fff,#f1f7ff)!important}
.ha-eyebrow{font-size:11px;letter-spacing:.15em;color:#2563eb;font-weight:800;margin-bottom:7px!important}
.ha-brand-copy>.ha-muted{margin-top:7px}
.ha-home-wallet{display:flex;align-items:center;gap:10px;min-width:0;padding:14px;background:rgba(255,255,255,.8);border:1px solid #dce8f6;border-radius:12px}
.ha-wallet-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.ha-wallet-copy strong{font-size:13px;overflow-wrap:anywhere}
.ha-wallet-copy span{font-size:11px;color:#66778d}
.ha-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.ha-quick-actions>a{display:flex;align-items:center;gap:10px;background:var(--surface-card,#fff);border:1px solid var(--border-color,#dce6f1);border-radius:14px;padding:13px;color:inherit;min-width:0}
.ha-quick-actions>a>span:nth-child(2){flex:1;min-width:0}
.ha-quick-actions strong,.ha-quick-actions small{display:block}
.ha-quick-actions strong{font-size:14px;line-height:1.5}
.ha-quick-actions small{font-size:11px;color:#63748b;margin-top:2px}
.ha-quick-actions>a>i{font-size:10px;color:#8b9ab0}
.ha-market,.ha-recent{padding:18px}
.ha-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ha-section-heading>a{color:#2563eb;font-size:12px;white-space:nowrap;min-height:36px;display:flex;align-items:center;gap:6px}
.ha-hot-heading{padding-bottom:8px}
.ha-asset-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 90px;gap:12px;align-items:center;min-height:60px;border-top:1px solid var(--border-color,#e5ecf5);color:inherit}
.ha-asset-identity{min-width:0;display:flex;align-items:center;gap:10px}
.ha-asset-letter{width:32px;height:32px;flex-shrink:0;border-radius:50%;background:#edf5ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
.ha-asset-identity strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}
.ha-asset-identity small{font-size:10px;color:#63748b}
.ha-icon-label{display:inline-flex!important;align-items:center;gap:4px}
.ha-history-identity{display:flex;align-items:center;gap:8px;min-width:0}
.ha-asset-price,.ha-asset-change{text-align:right;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ha-asset-price small,.ha-asset-change small{display:block;font-size:10px;color:#63748b;font-weight:400;margin-top:2px}
.ha-asset-change.is-up{color:#12815a}.ha-asset-change.is-down{color:#ce424f}
.ha-empty{padding:18px 8px;text-align:center;font-size:12px;color:#63748b;line-height:1.7}
.ha-hot-assets .ha-asset-skeleton{pointer-events:none}
.ha-skel{display:block;min-height:14px;border-radius:6px;background:linear-gradient(90deg,#eef3f8 0%,#f7fafc 45%,#eef3f8 100%);background-size:200% 100%;animation:ha-skel 1.4s ease-in-out infinite}
.ha-asset-skeleton .ha-skel:first-child{min-height:32px;max-width:168px}
.ha-asset-skeleton .ha-skel:nth-child(n+2){min-height:12px;max-width:72px;justify-self:end}
@media(min-width:768px){
  .ha-hot-assets{min-height:408px}
  .ha-asset-skeleton{min-height:68px}
  .ha-hot-assets[data-home-skeleton] .ha-empty{text-align:left;padding:8px 10px;margin:0 0 8px}
}
@keyframes ha-skel{0%{background-position:100% 0}100%{background-position:-100% 0}}
.ha-retry{margin:8px auto 0;display:flex}.ha-retry.hidden{display:none}
.ha-home-lower{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}
.ha-risk-note{display:flex;gap:12px;padding:18px;align-items:flex-start}
.ha-risk-note .ha-icon{background:#fff7e8;color:#a66b0b}
.ha-risk-note p{font-size:12px;color:#63748b;line-height:1.7;margin-top:7px}
.ha-capabilities{padding:0 18px}
.ha-capabilities>summary{min-height:52px;display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:700;cursor:pointer}
.ha-capabilities>summary::-webkit-details-marker,.ha-setting-detail>summary::-webkit-details-marker{display:none}
.ha-capabilities[open]>summary>i,.ha-setting-detail[open]>summary>i{transform:rotate(180deg)}
.ha-capability-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:10px 0 16px}
.ha-capability-grid>a{min-height:42px;display:flex;align-items:center;gap:9px;font-size:12px;color:inherit;padding:8px;border-radius:9px;background:#f5f9ff}
.ha-capability-grid i{color:#2563eb;width:18px;text-align:center}
.ha-history-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--border-color,#e5ecf5);color:inherit;font-size:12px;line-height:1.6}
.ha-history-row>span:first-child{min-width:0;overflow-wrap:anywhere}.ha-history-row small{display:block;color:#63748b;font-size:10px}.ha-history-row>span:last-child{flex-shrink:0;color:#63748b}
.ha-account-shell{max-width:760px;padding-top:20px}
.ha-page-title{font-size:24px!important;margin-bottom:16px!important}
.ha-account-wallet,.ha-account-records{margin-bottom:14px}
.ha-guest-wallet,.ha-wallet-identity{display:flex;align-items:center;gap:12px;padding:18px}
.ha-guest-wallet>div{flex:1;min-width:0}.ha-guest-wallet .ha-muted{margin-top:4px}
.ha-wallet-details{flex:1;min-width:0}.ha-wallet-address{display:flex;align-items:center;gap:6px}.ha-wallet-address strong{font-size:16px;font-family:monospace}.ha-wallet-address .btn{padding:5px 9px;min-height:36px}
.ha-wallet-details code{font-size:10px;overflow-wrap:anywhere;display:block;color:#63748b;line-height:1.5}
.ha-wallet-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.ha-wallet-badges .badge{background:#edf5ff!important;color:#365d90!important;border:1px solid #d7e6f8!important;font-size:10px}
.ha-personal-record{padding:16px;margin-top:12px}.ha-personal-record .py-8{padding-top:14px;padding-bottom:14px}.ha-personal-record .text-3xl{display:none}
.ha-account-records,.ha-account-settings{padding:0 16px}
.ha-setting-row,.ha-setting-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;color:inherit;font-size:13px;cursor:pointer}
.ha-setting-row>span,.ha-setting-detail>summary>span:first-child{display:flex;align-items:center;gap:11px;min-width:0}
.ha-setting-row>span>i,.ha-setting-detail>summary>span>i{color:#5477a4;width:18px;text-align:center;flex-shrink:0}
.ha-setting-row>i,.ha-setting-detail>summary>i{font-size:10px;color:#8294ad}
.ha-setting-row+.ha-setting-row,.ha-setting-row+.ha-setting-detail,.ha-setting-detail+.ha-setting-row,.ha-setting-detail+.ha-setting-detail{border-top:1px solid var(--border-color,#e5ecf5)}
.ha-setting-detail{scroll-margin-top:90px}.ha-setting-detail .ha-empty{text-align:left;padding:0 0 14px 29px}
.ha-setting-detail .ha-record-note{padding:0 0 10px 29px}
.ha-setting-detail #account-score-history{padding-left:29px}
.ha-setting-detail #account-score-history .ha-empty{padding-left:0}
.ha-setting-row .theme-toggle{width:38px;height:38px;border-radius:10px}
.ha-about{padding:0 0 16px 29px;font-size:13px}.ha-about p{margin-top:4px}.ha-about-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;margin-top:4px}.ha-about a{display:inline-flex;align-items:center;gap:7px;min-height:38px;color:#2563eb;font-size:12px}
.ha-account-settings #trade-pwd-card{margin:0 0 14px!important;padding:12px!important;background:#f5f9ff!important}
.ha-account-settings #trade-pwd-card h3{font-size:13px}.ha-account-settings #trade-pwd-card .text-xs{font-size:11px}
[data-theme="dark"] .ha-shell{--surface-card:#132238;--border-color:#2d4059;--text-primary:#e8eff8;--text-secondary:#a5b4c8}
[data-theme="dark"] .ha-welcome{background:#132238!important}[data-theme="dark"] .ha-home-wallet,[data-theme="dark"] .ha-capability-grid>a{background:#192e48;border-color:#2d4059}
@media(max-width:767px){.ha-shell{width:calc(100% - 28px);padding-top:16px}.ha-welcome{grid-template-columns:1fr;gap:16px;padding:18px}.ha-shell h1{font-size:24px}.ha-home-wallet{padding:11px}.ha-home-wallet .ha-icon{display:none}.ha-quick-actions{gap:10px}.ha-quick-actions>a{padding:11px;gap:8px}.ha-quick-actions .ha-icon{width:30px;height:34px;font-size:13px}.ha-quick-actions strong{font-size:13px}.ha-quick-actions small{font-size:10px}.ha-quick-actions>a>i{display:none}.ha-market,.ha-recent{padding:14px}.ha-asset-row{grid-template-columns:minmax(0,1fr) 83px 75px;gap:7px;min-height:60px}.ha-asset-identity{gap:7px}.ha-asset-identity strong{max-width:120px}.ha-asset-price,.ha-asset-change{font-size:12px}.ha-asset-letter{width:27px;height:27px;font-size:11px}.ha-home-lower{grid-template-columns:1fr;gap:12px;margin:12px 0}.ha-risk-note{padding:14px}.ha-risk-note p{margin-top:4px}.ha-capability-grid{grid-template-columns:repeat(2,1fr)}.ha-guest-wallet{padding:15px;flex-wrap:wrap;gap:10px}.ha-guest-wallet>div{flex-basis:calc(100% - 52px)}.ha-guest-wallet>.btn{width:100%}.ha-wallet-identity{padding:14px;gap:10px;flex-wrap:wrap}.ha-wallet-identity>.ha-icon{display:none}.ha-wallet-details{flex-basis:100%}.ha-wallet-identity>#wid-disconnect-btn{margin-top:2px}.ha-setting-row,.ha-setting-detail>summary{min-height:51px}.ha-account-records,.ha-account-settings{padding:0 14px}}
/* Final Home hierarchy: always-visible ecosystem and a quieter financial surface. */
.home-page .ha-welcome{position:relative;overflow:hidden;min-height:196px;padding:30px;background:radial-gradient(ellipse at 95% 0%,#daf0ff80,transparent 60%),linear-gradient(125deg,#fff,#f3faff)!important;border-color:#d8e9f5;box-shadow:0 4px 18px #15375505}
.home-page .ha-welcome:before{content:'';position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#90b9d309 1px,transparent 1px),linear-gradient(90deg,#90b9d309 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(90deg,transparent,#000)}
.home-page .ha-welcome>div{position:relative}.home-page .ha-brand-copy h1{font-size:32px;letter-spacing:-.025em;line-height:1.5}.home-page .ha-brand-copy>.ha-muted{font-size:13px;margin-top:8px}.home-page .ha-home-wallet{padding:16px;border-radius:15px;box-shadow:0 4px 12px #24456003}.home-page .ha-home-wallet .btn{min-height:46px}.home-page .ha-quick-actions{margin:16px 0}.home-page .ha-quick-actions>a{min-height:78px;border-radius:16px}.home-page .ha-market{padding:22px}.home-page .ha-asset-row{min-height:68px}.home-page .ha-asset-price,.home-page .ha-asset-change{font-variant-numeric:tabular-nums}.home-page .ha-risk-note{background:#fffaf0;border-color:#f1e4c8;box-shadow:none}.home-page .ha-risk-note .ha-icon{background:#fff0cc;color:#8f671f}.home-page .ha-risk-note h2{font-size:13px}.home-page .ha-risk-note p{font-size:12px;color:#796746}.home-page .ha-recent .ha-empty{padding:8px 0;text-align:left}.home-page .ha-capabilities{padding:22px}.home-page .ha-capabilities>p{margin-top:6px}.home-page .ha-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:17px;gap:11px}.home-page .ha-capability-grid>a{display:flex;align-items:center;text-align:left;min-height:66px;padding:14px;border:1px solid #e2edf5;border-radius:13px;background:#fbfdff;gap:10px}.home-page .ha-capability-grid>a>i:first-child{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:#edf7ff;border-radius:10px;font-size:15px;color:var(--jg-brand-ink,#006aaf);flex-shrink:0}.home-page .ha-capability-grid>a>span{flex:1;font-size:13px;font-weight:650}.home-page .ha-capability-grid>a>i:last-child{font-size:9px;color:#8396a8}.home-page .ha-capability-grid>a>small{font-size:10px;color:#6a7d90;white-space:nowrap}.home-page .ha-capability-grid>a:hover{border-color:var(--jg-brand-border,#a4d8ff);background:var(--jg-brand-soft,#f5fbff)}.ha-account-records .ws-records,.ha-account-records .ws-record{padding-left:29px;padding-right:5px}.ha-account-records .ws-record{overflow-wrap:anywhere}
[data-theme=dark] .home-page .ha-welcome{background:linear-gradient(125deg,#132238,#163249)!important}[data-theme=dark] .home-page .ha-risk-note{background:#2d281e;border-color:#4a3c24}[data-theme=dark] .home-page .ha-risk-note p{color:#d4c2a1}[data-theme=dark] .home-page .ha-capability-grid>a{background:#192e48;border-color:#2d4059}
@media(max-width:767px){.home-page .ha-welcome{padding:22px 18px;min-height:0;gap:19px}.home-page .ha-brand-copy h1{font-size:28px}.home-page .ha-brand-copy>.ha-muted{font-size:12px}.home-page .ha-market{padding:16px}.home-page .ha-quick-actions>a{min-height:72px}.home-page .ha-capabilities{padding:16px}.home-page .ha-capability-grid{gap:9px}.home-page .ha-capability-grid>a{padding:11px;gap:7px;min-height:62px}.home-page .ha-capability-grid>a>span{font-size:12px}.home-page .ha-capability-grid>a>i:first-child{width:28px;height:30px;font-size:13px}.home-page .ha-capability-grid>a>i:last-child{display:none}.home-page .ha-asset-row{min-height:64px}.home-page .ha-home-wallet{padding:12px}}
.home-page .ha-capability-grid>a{min-height:84px}.home-page .ha-capability-grid>a>span{min-width:0}.home-page .ha-capability-grid strong{display:block;font:inherit}.home-page .ha-capability-grid small{display:block;font-size:11px;line-height:1.5;color:var(--text-secondary,#63748b);font-weight:400;margin-top:5px}.home-page .ha-capability-grid>a>span+ i{flex-shrink:0}
