/* IKONVEX — locked responsive header. Same identity layout; page-specific heading/figures. */
:root{--ivx-purple:#3D0191;--ivx-magenta:#800182;--ivx-lav:#F3EAFF;--ivx-line:#e5d4fb}
body{font-family:'DM Sans',Arial,sans-serif!important}
.ivx-account-card{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(120deg,var(--ivx-purple) 0%,#5a0598 50%,var(--ivx-magenta) 100%);border-radius:20px;color:#fff;padding:18px 20px;margin-bottom:15px;box-shadow:0 8px 23px rgba(61,1,145,.13)}
.ivx-account-card:before{content:"";position:absolute;pointer-events:none;z-index:-1;width:72%;height:180%;border-radius:50%;right:-23%;top:-125%;background:rgba(226,165,255,.12)}
.ivx-account-card .unified-header{position:relative;margin:0 0 14px;padding:0 0 13px;border-bottom:1px solid rgba(255,255,255,.28);background:none!important;color:#fff!important;box-shadow:none!important;border-radius:0!important}
.ivx-account-card .unified-user,.ivx-account-card .header-welcome,.ivx-account-card .user-greeting,.ivx-account-card .header-identity{color:#fff!important}
.ivx-account-card .user-greeting{font-size:18px;line-height:1.22;font-weight:600;letter-spacing:-.2px}
.ivx-account-card .header-identity{font-size:11.5px;opacity:.94;font-weight:400}
.ivx-account-card .verified-icon{color:#3D0191!important;background:#f4eaff!important;border:1px solid rgba(255,255,255,.55);border-radius:999px;padding:2px 8px;font-weight:500}
.ivx-account-card .header-bell,.ivx-account-card .header-bell svg{color:#fff!important;stroke:#fff!important}
.ivx-account-card .topright{display:flex;gap:13px;align-items:center}
.ivx-account-card .profile-click .profile{border:2px solid #f8efff;width:39px;height:39px}
.ivx-account-card .user-menu-toggle{color:#fff!important}
.ivx-account-card .ivx-menu-chevron{font-size:13px!important;padding:0 4px!important;min-width:auto!important}
.ivx-account-heading{position:relative;margin:0 0 12px}
.ivx-account-heading h1{color:#fff!important;font-size:20px;line-height:1.2;font-weight:600;letter-spacing:-.3px;margin:0 0 4px}
.ivx-account-heading p{margin:0;color:#f0dfff;font-size:12px;font-weight:400;line-height:1.5}
.ivx-account-card .ivx-embedded-hero{background:none!important;border:none!important;border-radius:0!important;padding:7px 0 0!important;margin:0!important;box-shadow:none!important;overflow:visible;min-height:auto!important}
.ivx-account-card .ivx-embedded-hero:after{display:none!important}
.ivx-account-card .hero-grid{flex-wrap:wrap;gap:12px}
.ivx-account-card .hero-label{font-size:12px;font-weight:400;opacity:.92}
.ivx-account-card .hero-amount{font-size:clamp(26px,3.3vw,38px);font-weight:600;line-height:1.14;letter-spacing:-.7px}
.ivx-account-card .rightmetric{font-size:13px}
.ivx-account-card .action{font-size:12px;font-weight:500;background:linear-gradient(#fff,#f0e1ff);color:#3D0191}
.ivx-account-card .actions{margin-top:14px}
.ivx-account-card .action:hover{background:#f5ebff}
.ivx-account-card .hero small{font-weight:400;color:#f2e5ff}
/* Home uses the original user-chosen reference composition; align its text/color rhythm. */
.merged-portfolio{background:linear-gradient(120deg,#3D0191,#630299 54%,#800182)!important;box-shadow:0 8px 23px rgba(61,1,145,.13)!important}
.merged-portfolio .merged-topbar .welcome h1{font-weight:600!important}
.merged-portfolio .port-head{font-weight:500!important}
.merged-portfolio .balance{font-weight:600!important;letter-spacing:-.6px!important}
/* Inner pages: same outline/shadow as Home cards. */
.page .panel,.page .metric,.page .income-card{border-color:var(--ivx-line);box-shadow:0 3px 10px rgba(61,1,145,.06)}
/* Match the standalone investment header to the site theme. */
.ivx-standalone-header{background:linear-gradient(120deg,#3D0191,#630299 54%,#800182)!important;color:#fff!important;border-radius:18px!important;padding:16px 19px!important;box-shadow:0 8px 23px rgba(61,1,145,.12)}
.ivx-standalone-header .investment-greeting,.ivx-standalone-header .investment-account{color:#fff!important}
.ivx-profile-header{background:linear-gradient(115deg,#3D0191,#800182)!important;color:#fff!important;border-radius:18px!important;padding:18px!important}
.ivx-profile-header h1,.ivx-profile-header .sub{color:#fff!important}
@media(max-width:700px){
 .ivx-account-card{border-radius:16px;padding:13px 12px 14px;margin-bottom:12px}
 .ivx-account-card .unified-header{padding-bottom:11px;margin-bottom:12px;gap:6px}
 .ivx-account-card .user-greeting{font-size:14px;font-weight:600}
 .ivx-account-card .header-identity{font-size:9px;line-height:1.35}
 .ivx-account-card .topright{gap:6px}
 .ivx-account-card .profile-click .profile{width:30px;height:30px}
 .ivx-account-card .ivx-menu-chevron{display:none!important}
 .ivx-account-heading h1{font-size:17px}
 .ivx-account-heading p{font-size:11px}
 .ivx-account-card .hero-grid{gap:10px}
 .ivx-account-card .hero-amount{font-size:29px}
 .ivx-account-card .hero-label{font-size:11px}
 .ivx-account-card .rightmetric{padding-left:9px!important;font-size:11px}
 .ivx-account-card .actions{gap:6px}
 .ivx-account-card .action{font-size:10px;padding:8px 5px}
 .ivx-standalone-header{padding:13px 12px!important;border-radius:16px!important}
}
