
/* Wallet layout repair: reserve room for actions and chart labels instead of compressing content. */
body[data-page=wallet] .fintech-hero{min-height:85px;padding-bottom:20px}
body[data-page=wallet] .fintech-building{right:3%;top:-60px;opacity:.65}
body[data-page=wallet] .fintech-dashboard .flow-card{height:auto;min-height:240px}
body[data-page=wallet] .fintech-dashboard .flow-card[data-selected] .flow-card-body{box-sizing:border-box;min-height:240px;height:auto;display:flex;flex-direction:column;padding:20px!important}
body[data-page=wallet] .fintech-dashboard .flow-card-heading{max-width:100%;padding-right:0}
body[data-page=wallet] .fintech-dashboard .flow-card h2{font-size:15px}
body[data-page=wallet] .fintech-dashboard .flow-card[data-selected] .flow-value{font-size:clamp(29px,2.6vw,43px);margin-top:22px;max-width:65%;width:auto;line-height:1.2;letter-spacing:-1px}
body[data-page=wallet] .fintech-dashboard .flow-value-note{font-size:10px;line-height:1.5;max-width:65%;margin-top:8px}
body[data-page=wallet] .fintech-dashboard .flow-card-actions{position:relative;inset:auto;display:flex;flex-direction:row;margin-top:auto;padding-top:20px;gap:10px;flex-shrink:0}
body[data-page=wallet] .fintech-dashboard .flow-card-actions .button{min-height:38px;padding:9px 10px;font-size:12px;box-sizing:border-box;flex:1}
body[data-page=wallet] .fintech-card-art{width:130px;height:130px;right:8px;top:29px}
body[data-page=wallet] .fintech-dashboard .flow-accounts{gap:24px;margin-bottom:20px}
body[data-page=wallet] .fintech-dashboard .flow-quick{margin-bottom:20px}
body[data-page=wallet] .fintech-analytics{align-items:stretch;gap:20px}
body[data-page=wallet] .fintech-dashboard .overview-stage{height:245px;min-width:0}
body[data-page=wallet] .fintech-dashboard .overview-tilt{max-width:245px;width:100%}
body[data-page=wallet] .fintech-dashboard .overview-center strong{font-size:clamp(15px,1.25vw,21px);letter-spacing:-.6px;line-height:1.2;max-width:65%;overflow-wrap:normal;white-space:nowrap}
body[data-page=wallet] .fintech-dashboard .overview-center span{font-size:9px;max-width:55%;text-align:center;line-height:1.5}
body[data-page=wallet] .fintech-dashboard .overview-legend-row{min-width:0;padding:15px 0}
body[data-page=wallet] .fintech-dashboard .overview-legend-row b{white-space:normal;font-size:11px}
body[data-page=wallet] .fintech-growth-content{padding-top:65px;min-height:250px}
body[data-page=wallet] .fintech-growth-summary{top:10px}
body[data-page=wallet] .fintech-growth-chart{height:175px}
@media(min-width:1001px){body[data-page=wallet].reference-customer-shell{--sidebar-width:230px}body[data-page=wallet].reference-customer-shell main{padding:17px 22px}body[data-page=wallet] .sidebar .brand{font-size:18px;padding:20px 15px}body[data-page=wallet] .sidebar nav button{min-height:44px;font-size:12px;padding:10px 15px}body[data-page=wallet] .fintech-sidebar-promo{margin:55px 15px 8px;padding:35px 15px 14px}body[data-page=wallet] .fintech-sidebar-promo h2{font-size:20px}body[data-page=wallet] .fintech-promo-art{width:110px;height:95px;top:-55px}}
@media(min-width:1001px) and (max-width:1300px){body[data-page=wallet] .fintech-dashboard .overview-layout{grid-template-columns:1fr}body[data-page=wallet] .fintech-dashboard .flow-card-heading{gap:8px}body[data-page=wallet] .fintech-dashboard .flow-icon{width:33px;height:33px}body[data-page=wallet] .fintech-card-art{width:100px;height:100px;top:47px}body[data-page=wallet] .fintech-dashboard .flow-card[data-selected] .flow-value{font-size:29px}body[data-page=wallet] .fintech-dashboard .flow-card-actions .button{font-size:10px;padding-inline:5px}body[data-page=wallet] .fintech-dashboard .overview-center strong{font-size:20px}}
@media(max-width:1000px){body[data-page=wallet] .fintech-hero{min-height:90px}body[data-page=wallet] .fintech-building{opacity:.3}body[data-page=wallet] .fintech-dashboard .flow-card[data-selected] .flow-card-body{min-height:250px}body[data-page=wallet] .fintech-dashboard .flow-card[data-selected] .flow-value{font-size:30px}body[data-page=wallet] .fintech-dashboard .flow-card-actions{flex-wrap:wrap}body[data-page=wallet] .fintech-dashboard .flow-card-actions .button{min-width:85px}body[data-page=wallet] .fintech-dashboard .overview-center strong{font-size:20px}}
@media(max-width:760px){body[data-page=wallet] .fintech-hero{min-height:100px}body[data-page=wallet] .fintech-dashboard .flow-card[data-selected] .flow-card-body{min-height:245px}body[data-page=wallet] .fintech-dashboard .flow-card[data-selected] .flow-value{font-size:36px}body[data-page=wallet] .fintech-card-art{width:130px;height:130px;top:30px}body[data-page=wallet] .fintech-dashboard .overview-center strong{font-size:20px}body[data-page=wallet] .fintech-dashboard .flow-card-actions .button{font-size:12px}body[data-page=wallet] .fintech-dashboard .overview-layout{grid-template-columns:1fr}}
@media(min-width:761px) and (max-width:1300px){body[data-page=wallet] .fintech-dashboard .flow-card-actions .button{min-width:0;flex:1 1 0;gap:4px;font-size:10px;padding-inline:4px}body[data-page=wallet] .fintech-dashboard .flow-card-actions .button svg{width:13px;height:13px;flex-shrink:0}}
/* Investment reference screen: scoped presentation only; API and financial state remain authoritative. */
body[data-page=investments]{background:#f2f1ff;color:#0b124c}
body[data-page=investments] main{max-width:none;padding:18px 24px 28px}
.reference-investments{display:grid;gap:14px;min-width:0;color:#0b124c}
.reference-investments>*{min-width:0;margin:0}
.reference-investments .customer-reference-banner{position:relative;isolation:isolate;overflow:hidden;min-height:150px;display:flex;align-items:center;padding:20px 34px;border-radius:20px;background:radial-gradient(ellipse at 75% 100%,#ac62ff,transparent 60%),linear-gradient(115deg,#210569,#5422c8 52%,#3659fb);box-shadow:0 6px 18px #593dd71a;color:white}
.reference-investments .reference-banner-copy{position:relative;z-index:2;max-width:56%}
.reference-investments .reference-banner-copy h1{font-size:clamp(27px,2.6vw,39px);line-height:1.05;letter-spacing:-1px;margin:0 0 12px;color:white}
.reference-investments .reference-banner-copy em{font-style:normal;color:#43e8ff}
.reference-investments .reference-banner-copy p{font-size:13px;color:white;margin:0;line-height:1.5}
.reference-investments .reference-banner-art{position:absolute;right:0;bottom:-13px;width:300px;height:200px;background:url('../images/fintech-reference/illustrations.png') right bottom/200% 200% no-repeat;pointer-events:none}
.reference-investments .customer-reference-banner:after{content:'';position:absolute;right:30%;bottom:-12px;width:235px;height:185px;background:url('../images/fintech-reference/customer-illustrations.png') right bottom/200% 200% no-repeat;pointer-events:none}
.reference-investments .metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}
.reference-investments .metric-card{border:1px solid #cbd4ff;background:linear-gradient(115deg,#f1f8ff,#e1eaff);box-shadow:0 4px 10px #3626a310;border-radius:18px;padding:16px;min-width:0;min-height:96px;display:flex;align-items:center}
.reference-investments .metric-card:nth-child(2){background:linear-gradient(115deg,#faf6ff,#eee4ff);border-color:#dccbff}
.reference-investments .metric-card:nth-child(3){background:linear-gradient(115deg,#f7fff9,#e8f7eb);border-color:#d1eedd}
.reference-investments .metric-card:nth-child(4){background:linear-gradient(115deg,#fffdfa,#fff0df);border-color:#f6dbc0}
.reference-investments .metric-icon{width:52px;height:52px;border-radius:50%;background:#cfe5ff;color:#0959ff;flex-shrink:0;display:grid;place-items:center}
.reference-investments .metric-icon svg{width:27px;height:27px}
.reference-investments .metric-card:nth-child(2) .metric-icon{background:#e8d9ff;color:#7b24fa}
.reference-investments .metric-card:nth-child(3) .metric-icon{background:#d6f5dc;color:#00a451}
.reference-investments .metric-card:nth-child(4) .metric-icon{background:#ffebc8;color:#d98c00}
.reference-investments .metric-label{font-size:11px;color:#30366e}.reference-investments .metric-value{color:#0b124c;font-size:clamp(20px,1.8vw,29px);line-height:1.3;letter-spacing:-.7px;font-weight:750;overflow-wrap:anywhere}.reference-investments .metric-note{font-size:11px;color:#41467a;line-height:1.4}
.reference-investments .tabs{border:0;display:flex;gap:10px;margin:0;padding:0;background:transparent}
.reference-investments .tabs button{padding:8px 24px;border-radius:13px;border:1px solid #d2cdff;background:#eeecff;color:#17134f;font-size:12px;font-weight:650}
.reference-investments .tabs button.active{background:linear-gradient(110deg,#138eff,#0824ff);border-color:#548fff;color:white;box-shadow:0 4px 8px #1b49ff20}
.reference-investments .two-column{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;align-items:stretch}
.reference-investments .card.panel,.reference-investments .dashboard-widget{padding:17px 20px;border:1px solid #ded8ff;border-radius:19px;background:linear-gradient(120deg,#ffffff,#f7f5ff);box-shadow:0 4px 12px #4635ae14;min-width:0}
.reference-investments .section-heading{margin-bottom:13px}.reference-investments h3,.reference-investments .widget-heading h2{font-size:16px;color:#0b124c;margin:0;display:flex;align-items:center;gap:8px}
.reference-investments .investment-heading-icon{display:inline-grid;place-items:center;color:#4930ff;background:#ebe7ff;border-radius:10px;width:29px;height:29px;flex-shrink:0}.reference-investments .investment-heading-icon svg{width:20px;height:20px}
.reference-investments .workspace-steps{display:flex;justify-content:space-between;gap:8px;margin:0 0 18px;font-size:10px;flex-wrap:wrap}.reference-investments .workspace-steps li{gap:5px}.reference-investments .workspace-steps li:first-child span{background:#1538ff;color:white}
.reference-investments .source-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:14px}.reference-investments .source-option{display:flex;align-items:center;gap:12px;border:1px solid #d4d0ee;border-radius:12px;background:#fff;padding:11px 15px;text-align:left;color:#13134b;min-width:0;position:relative}.reference-investments .source-option>svg{width:27px;height:27px;flex-shrink:0}.reference-investments .source-option b{font-size:13px}.reference-investments .source-option small{display:block;font-size:11px;line-height:1.4;color:#555c91}.reference-investments .source-option.active{border-color:#4c3aff;background:#e2e5ff;box-shadow:inset 0 0 0 1px #4c3aff}.reference-investments .source-option.active:after{content:'✓';margin-left:auto;display:grid;place-items:center;min-width:19px;height:19px;border-radius:50%;background:#123bff;color:white;font-size:12px}
.reference-investments label{font-size:11px;font-weight:650;color:#17164b}.reference-investments input,.reference-investments select{width:100%;min-width:0;border:1px solid #cfcaee;border-radius:9px;background:#fff;min-height:36px;font-size:12px;padding:7px 11px}.reference-investments .form-grid{gap:16px}.reference-investments .form-footer{gap:12px;margin-top:9px}.reference-investments .form-footer .subtle-note{font-size:10px}.reference-investments .field-note{font-size:11px;margin:10px 0}.reference-investments .button.primary{background:#1439ff;border:0;border-radius:11px;min-height:36px;padding:8px 15px;font-size:12px;box-shadow:0 4px 10px #303aff22}
.reference-investments .plan-summary-card{height:100%;border-top:1px solid #ded8ff}.reference-investments #plan-summary{position:relative;padding-right:120px}.reference-investments .reference-plan-rate{position:absolute;right:0;top:4px;width:104px;height:104px;border-radius:50%;border:10px solid #7533fa;border-bottom-color:#1856ff;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 6px 12px #5534ff20}.reference-investments .reference-plan-rate strong{font-size:26px;line-height:1.2;color:#111344}.reference-investments .reference-plan-rate small{font-size:10px;color:#484a80}.reference-investments .term-row{font-size:11px;gap:10px;padding-block:10px}.reference-investments .term-row strong{color:#111344}.reference-investments .estimate-box{margin-top:12px;padding:13px;background:#ece7ff;border-radius:13px;width:calc(100% + 120px)}.reference-investments .estimate-amount{color:#7724eb;font-size:22px}.reference-investments #plan-summary>.subtle-note{width:calc(100% + 120px);font-size:10px;margin:8px 0 0}.reference-investments .eyebrow{font-size:9px}.reference-investments .reference-investment-explanation{margin-top:10px;padding:10px 16px}.reference-investments .activation-details summary{font-size:12px;color:#19164e;font-weight:650}
.reference-investments .portfolio-overview{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;margin:0}.reference-investments .widget-heading{margin-bottom:10px}.reference-investments .widget-heading .eyebrow,.reference-investments .widget-tag{display:none}.reference-investments .position-tile{padding:10px 0;border:0;background:transparent}.reference-investments .investment-position-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.reference-investments .investment-position-identity{position:relative;padding-left:45px}.reference-investments .investment-position-symbol{position:absolute;left:0;top:0;background:#dce9ff;color:#1459ff;width:35px;height:35px;border-radius:12px;display:grid;place-items:center}.reference-investments .investment-position-identity p{font-size:10px;margin:3px 0}.reference-investments .investment-position-row h3{font-size:14px;display:block}.reference-investments .investment-position-row h3 small{display:block;font-size:10px;font-weight:400;margin-top:4px}.reference-investments .position-dates{font-size:11px}.reference-investments .position-tile>button{margin-top:8px}.reference-investments .stack.spaced{gap:12px;margin:0}.reference-investments .data-table th{background:#ebe6ff;color:#292367;font-size:10px;padding:10px}.reference-investments .data-table td{padding:12px 10px;font-size:11px}.reference-investments .empty-state{padding:15px;min-height:0}.reference-investments .empty-state h3{justify-content:center;font-size:14px}.reference-investments .empty-state p{font-size:11px}
@media(min-width:1001px){body[data-page=investments]{--sidebar-width:245px}body[data-page=investments] .sidebar{background:linear-gradient(160deg,#020f35,#0c134c 65%,#25216e)}body[data-page=investments] .sidebar nav button.active{background:linear-gradient(110deg,#00b9ee,#2438ff 65%,#a33dfa);box-shadow:0 0 14px #6552ff40}body[data-page=investments] .reference-sidebar-promo{position:relative;margin:75px 22px 15px;padding:90px 18px 18px;border:1px solid #4639b3;border-radius:23px;color:white;background:linear-gradient(145deg,#101a50,#271579)}body[data-page=investments] .reference-sidebar-promo h2{color:white;font-size:22px;line-height:1.2;margin:0 0 12px}body[data-page=investments] .reference-sidebar-promo p{font-size:12px;line-height:1.5;color:#eeeaff}body[data-page=investments] .reference-sidebar-promo .button{background:#f5f0ff;color:#131352;width:100%}body[data-page=investments] .reference-promo-art{position:absolute;top:-38px;left:20px;width:160px;height:120px;background:url('../images/fintech-reference/illustrations.png') right top/200% 200% no-repeat}}
@media(max-width:1200px){.reference-investments .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-investments .two-column,.reference-investments .portfolio-overview{grid-template-columns:minmax(0,1fr)}.reference-investments .plan-summary-card{height:auto}}
@media(max-width:600px){body[data-page=investments] main{padding:14px}.reference-investments .customer-reference-banner{min-height:170px;padding:20px}.reference-investments .reference-banner-copy{max-width:85%}.reference-investments .reference-banner-art{opacity:.25;width:180px;height:140px}.reference-investments .customer-reference-banner:after{display:none}.reference-investments .metric-card{padding:12px;gap:8px}.reference-investments .metric-icon{width:33px;height:33px}.reference-investments .metric-icon svg{width:20px;height:20px}.reference-investments .metric-value{font-size:20px}.reference-investments .metric-label,.reference-investments .metric-note{font-size:10px}.reference-investments .source-options,.reference-investments .form-grid{grid-template-columns:minmax(0,1fr)}.reference-investments .card.panel,.reference-investments .dashboard-widget{padding:15px}.reference-investments #plan-summary{padding-right:0}.reference-investments .reference-plan-rate{position:relative;top:auto;right:auto;margin:0 auto 10px;width:90px;height:90px}.reference-investments .estimate-box,.reference-investments #plan-summary>.subtle-note{width:auto}.reference-investments .investment-position-row{flex-wrap:wrap}.reference-investments .tabs button{padding:8px 14px}.reference-investments .form-footer{flex-wrap:wrap}.reference-investments .form-footer .button{width:100%}}
/* Compact desktop rhythm follows the reference while retaining readable disclosures. */
@media(min-width:1201px){body[data-page=investments] .topbar{min-height:64px;height:64px}body[data-page=investments] main{padding-top:14px}.reference-investments{gap:11px}.reference-investments .customer-reference-banner{min-height:126px;padding-block:15px}.reference-investments .metric-card{min-height:88px;padding:12px 16px}.reference-investments .card.panel,.reference-investments .dashboard-widget{padding:14px 18px}.reference-investments .form-footer{justify-content:flex-end;padding-top:8px;margin-top:6px}.reference-investments .workspace-steps{margin-bottom:13px}.reference-investments .source-options{margin-bottom:10px}.reference-investments .term-row{padding-block:9px}.reference-investments .estimate-box{margin-top:9px;padding:11px}.reference-investments .plan-summary-card>.section-heading{margin-bottom:8px}.reference-investments .empty-state{padding:10px}.reference-investments .empty-state .empty-icon{height:30px;width:30px}.reference-investments .activation-details{padding:10px 16px}}
.reference-investments .allocation-panel{gap:24px;align-items:center}.reference-investments .allocation-ring{width:108px;height:108px;flex:0 0 108px;box-shadow:0 4px 12px #5239e41a}.reference-investments .allocation-ring>div{background:#faf9ff}.reference-investments .allocation-legend{min-width:0;flex:1;font-size:11px}.reference-investments .allocation-legend>div{gap:8px}.reference-investments .allocation-panel:has(.allocation-legend>div:only-child) .allocation-ring{background:conic-gradient(#6729f4,#233eff,#ac46ff,#6729f4)!important}.reference-investments .allocation-legend>div:only-child .legend-dot{background:#802bff!important}.reference-investments .position-grid{grid-template-columns:minmax(0,1fr)}
@media(max-width:600px){.reference-investments .allocation-panel{flex-direction:column}.reference-investments .allocation-legend{width:100%}}
/* Earn Money reference composition. All values and controls remain API-backed. */
body[data-page=earnings]{background:#f1f0ff;color:#0a1449}
body[data-page=earnings] main{max-width:none;padding:16px 24px 26px}
.reference-earnings{display:grid;gap:16px;min-width:0}.reference-earnings>*{margin:0;min-width:0}
.reference-earnings .customer-reference-banner{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:138px;padding:25px 28px 38px;border-radius:22px;background:radial-gradient(ellipse at 70% 0,#0879e8,transparent 55%),linear-gradient(120deg,#28116d,#172ac2 75%,#065dc5);color:white}
.reference-earnings .customer-reference-banner:before{content:'';position:absolute;inset:65% -10% -90%;border-radius:50%;background:linear-gradient(90deg,#9657ff99,#109dff77);transform:rotate(-5deg);z-index:-1}
.reference-earnings .reference-banner-copy{z-index:1;max-width:70%}.reference-earnings .reference-banner-copy h1{font-size:clamp(26px,2.6vw,38px);line-height:1.15;color:white;letter-spacing:-1px;margin:0 0 9px}.reference-earnings .reference-banner-copy em{color:#28e1ef;font-style:normal}.reference-earnings .reference-banner-copy p{color:#eeebff;margin:0;font-size:15px}
.reference-earnings .reference-banner-art{position:absolute;right:9%;bottom:-5px;width:235px;height:150px;background:url('../images/fintech-reference/customer-illustrations.png') right bottom/200% 200% no-repeat;pointer-events:none}
.reference-earnings .earnings-overview{position:relative;z-index:1;margin-top:-27px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,3fr);gap:14px;align-items:stretch;padding:0 2px}
.reference-earnings .roi-feature{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:206px;padding:19px 22px;border:1px solid #2bf4c5;border-radius:22px;background:radial-gradient(ellipse at 100% 0,#00caaa44,transparent 70%),linear-gradient(115deg,#003f49,#006e5b);box-shadow:0 0 0 2px #7dffeb44,0 7px 20px #04a8a331;color:white}
.reference-earnings .roi-feature:after{content:'';position:absolute;right:5px;top:17px;width:145px;height:145px;background:url('../images/fintech-reference/illustrations.png') left bottom/200% 200% no-repeat;z-index:-1;pointer-events:none}
.reference-earnings .roi-feature>.eyebrow{display:flex;align-items:center;gap:10px;color:white;font-size:14px;letter-spacing:0;max-width:75%}.reference-earnings .roi-feature>.eyebrow svg{width:32px;height:32px;background:#00b67b;border-radius:50%;padding:6px;box-sizing:content-box}.reference-earnings .roi-feature>.amount{font-size:clamp(30px,2.8vw,44px);line-height:1.15;font-weight:750;letter-spacing:-1px;color:white;margin:0;max-width:75%;overflow-wrap:anywhere}.reference-earnings .roi-feature>.subtle-note{font-size:10px;color:#e3fffa;max-width:65%;line-height:1.5;margin:0}.reference-earnings .roi-buckets{display:flex;gap:15px;padding:0;border:0;background:transparent;max-width:85%;font-size:10px}.reference-earnings .roi-buckets>div{display:flex;gap:5px;align-items:center}.reference-earnings .roi-buckets small{color:#a9e9d9}.reference-earnings .roi-buckets b{color:white;font-size:10px}.reference-earnings .roi-feature>.button{margin-top:auto;background:#f5fffb;color:#008743;border:0;border-radius:20px;min-height:34px;padding:8px 22px;font-size:12px;min-width:175px}
.reference-earnings .earnings-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0}.reference-earnings .earnings-summary>.account-tile{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;min-height:206px;padding:22px;border:1px solid #ffffffb0;border-radius:22px;background:linear-gradient(130deg,#eee5ff,#ececff);box-shadow:0 5px 14px #4039c422;min-width:0}.reference-earnings .earnings-summary>.account-tile:nth-child(2){background:linear-gradient(130deg,#e5e9ff,#eeeeff)}.reference-earnings .earnings-summary>.account-tile:last-child{background:linear-gradient(130deg,#e4edff,#f1eeff)}
.reference-earnings .account-caption{display:flex;align-items:center;gap:10px;color:#101447;font-size:12px;font-weight:650;line-height:1.4}.reference-earnings .account-caption svg{width:22px;height:22px;padding:10px;border-radius:15px;background:#ddccff;color:#7028ed;box-sizing:content-box;flex-shrink:0}.reference-earnings .account-tile:nth-child(2) .account-caption svg{background:#cfddff;color:#0862ff}.reference-earnings .account-tile:nth-child(3) .account-caption svg{background:#d4dcff;color:#2462ff}.reference-earnings .earnings-summary .account-tile>strong{font-size:clamp(24px,2.2vw,34px);color:#0c1349;line-height:1.2;letter-spacing:-.6px;max-width:100%;overflow-wrap:anywhere}.reference-earnings .earnings-summary .account-tile>small{font-size:12px;color:#494e8b;line-height:1.4}
.reference-earnings .earnings-summary>.account-tile:last-child:after{content:'';position:absolute;right:4px;bottom:45px;width:88px;height:88px;background:url('../images/fintech-reference/customer-illustrations.png') right top/200% 200% no-repeat;opacity:.2;z-index:-1}
.reference-earnings .reference-earnings-analysis{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(0,1fr);gap:18px;align-items:stretch}.reference-earnings .dashboard-widget{padding:20px 24px;border:1px solid #ffffffb8;background:linear-gradient(125deg,#ffffffeb,#f1f0ff);border-radius:23px;box-shadow:0 5px 14px #4540b822;min-width:0}.reference-earnings .widget-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.reference-earnings .widget-heading h2{display:flex;align-items:center;gap:10px;font-size:19px;letter-spacing:-.5px;color:#101447;margin:0}.reference-earnings .widget-heading .eyebrow{display:none}.reference-earnings .earnings-heading-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#d7e5ff;color:#0057ff;flex-shrink:0}.reference-earnings .earnings-heading-icon svg{width:23px;height:23px}.reference-earnings .reference-upcoming .earnings-heading-icon{background:#e7dcff;color:#7221ff}
.reference-earnings [data-earnings-period]{width:auto;max-width:180px;min-width:0;background:#fafaff;border:1px solid #cdd2ff;border-radius:18px;padding:8px 12px;color:#252b74;font-size:11px}
.reference-earnings .chart-view-tabs{display:flex;flex-wrap:wrap;gap:4px;width:max-content;max-width:100%;background:#e7e6ff;border:1px solid #ceceff;border-radius:22px;padding:3px;margin-bottom:15px}.reference-earnings .chart-view-tabs button{border:0;border-radius:18px;padding:8px 18px;font-size:12px;color:#17134e;background:#f2f0ff}.reference-earnings .chart-view-tabs button.active{background:linear-gradient(110deg,#1336ff,#009bff);color:white;box-shadow:0 3px 7px #1c57e324}.reference-earnings .interactive-chart{min-width:0}.reference-earnings .interactive-chart svg{max-width:100%}.reference-earnings .analytics-empty{border:1px solid #e0e2ff;background:linear-gradient(120deg,#f4f6ff,#f1edff);border-radius:16px;min-height:184px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:20px;color:#6472a3}.reference-earnings .widget-footnote{font-size:10px;color:#6c78a1;line-height:1.5}
.reference-earnings .reference-upcoming{position:relative;overflow:hidden;display:flex;flex-direction:column;background:radial-gradient(ellipse at 100% 0,#f0dcff66,transparent 70%),linear-gradient(135deg,#fff,#eeeeff)}.reference-earnings .next-cycle{position:relative;z-index:1;min-height:160px;padding:7px 75px 10px 0}.reference-earnings .next-cycle:after{content:'';position:absolute;right:-8px;top:5px;width:110px;height:120px;background:url('../images/fintech-reference/customer-illustrations.png') right top/200% 200% no-repeat;z-index:-1}.reference-earnings .next-cycle>.eyebrow{display:inline-block;color:#1548ff;background:#dce5ff;border-radius:16px;padding:6px 11px;font-size:10px;letter-spacing:0}.reference-earnings .next-cycle>strong{display:block;font-size:28px;color:#101443;line-height:1.2;margin:20px 0 12px;letter-spacing:-.5px}.reference-earnings .next-cycle p{font-size:12px;color:#505e92;line-height:1.5}.reference-earnings .reference-upcoming .activation-details{padding:12px 14px;background:#e0e9ff;border-radius:15px;margin-top:auto}.reference-earnings .reference-upcoming summary{font-size:12px;font-weight:650;color:#1543ff;cursor:pointer}.reference-earnings .reference-upcoming .analytics-empty{padding:15px;min-height:150px}.reference-earnings .reference-upcoming .spaced{margin-top:15px}
.reference-earnings .reference-roi-activity-wrapper{display:block;margin:0}.reference-earnings .reference-roi-activity{padding-bottom:13px}.reference-earnings .earnings-activity-subtitle{font-size:11px;margin:4px 0 0 48px;color:#5e6a9b}.reference-earnings .card-link{color:#153dff;font-size:12px}.reference-earnings .roi-cycle-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:10px 5px;border-top:1px solid #e0e3fc}.reference-earnings .roi-cycle-row b{font-size:12px;color:#101747}.reference-earnings .roi-cycle-row b small{font-weight:400;color:#59669a;margin-left:12px}.reference-earnings .roi-cycle-row p{font-size:11px;color:#59669a;margin:4px 0 0}.reference-earnings .roi-cycle-row>strong{font-size:15px;color:#008b3d}.reference-earnings .roi-cycle-row .icon-tile{width:28px;height:28px;border-radius:50%;background:#ccf9e2;color:#009f60}.reference-earnings .roi-cycle-row .icon-tile svg{width:17px;height:17px}.reference-earnings .badge.green{background:#d8f8e8;border:1px solid #c0efda;color:#008a42}
@media(min-width:1001px){body[data-page=earnings]{--sidebar-width:240px}body[data-page=earnings] .topbar{height:64px;min-height:64px}body[data-page=earnings] .sidebar{background:linear-gradient(155deg,#021136,#031747 65%,#131352)}body[data-page=earnings] .sidebar nav button.active{background:linear-gradient(110deg,#04c5ee,#0046ff 72%,#04b9ed);box-shadow:0 0 16px #168cff55}body[data-page=earnings] .reference-sidebar-promo{position:relative;margin:85px 20px 15px;padding:70px 18px 18px;background:linear-gradient(135deg,#142e79,#152865 50%,#392285);border:1px solid #4dc8ff;border-radius:23px;box-shadow:0 0 20px #254dff35;color:white}body[data-page=earnings] .reference-sidebar-promo h2{font-size:24px;line-height:1.2;color:white;margin:0 0 13px}body[data-page=earnings] .reference-sidebar-promo p{font-size:12px;line-height:1.5;color:#e5eeff}body[data-page=earnings] .reference-sidebar-promo .button{width:100%;background:#f6f2ff;color:#0936c0;border-radius:17px}body[data-page=earnings] .reference-promo-art{position:absolute;top:-50px;right:5px;width:165px;height:125px;background:url('../images/fintech-reference/illustrations.png') right top/200% 200% no-repeat}}
@media(max-width:1250px){.reference-earnings .earnings-overview{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.reference-earnings .earnings-summary{gap:10px}.reference-earnings .earnings-summary>.account-tile{padding:16px}.reference-earnings .account-caption{flex-direction:column;align-items:flex-start;font-size:11px;gap:7px}.reference-earnings .account-caption svg{padding:7px;width:20px;height:20px}.reference-earnings .reference-earnings-analysis{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr)}.reference-earnings .roi-feature:after{opacity:.55;width:120px;height:120px}.reference-earnings .roi-feature>.amount{max-width:100%}.reference-earnings .roi-buckets{flex-wrap:wrap;gap:3px}.reference-earnings .next-cycle{padding-right:0}.reference-earnings .next-cycle:after{opacity:.2}}
@media(max-width:900px){.reference-earnings .earnings-overview{grid-template-columns:minmax(0,1fr)}.reference-earnings .roi-feature{min-height:210px}.reference-earnings .roi-feature:after{width:180px;height:180px;opacity:.85;right:20px}.reference-earnings .earnings-summary>.account-tile{min-height:170px}.reference-earnings .reference-earnings-analysis{grid-template-columns:minmax(0,1fr)}.reference-earnings .reference-upcoming{min-height:245px}.reference-earnings .next-cycle:after{opacity:1;right:15px}.reference-earnings .next-cycle{padding-right:120px}.reference-earnings .reference-banner-art{right:0;opacity:.5}.reference-earnings .reference-banner-copy{max-width:90%}}
@media(max-width:600px){body[data-page=earnings] main{padding:14px}.reference-earnings{gap:14px}.reference-earnings .customer-reference-banner{padding:22px 20px 40px;min-height:150px}.reference-earnings .reference-banner-copy h1{font-size:28px}.reference-earnings .reference-banner-copy p{font-size:12px;line-height:1.5}.reference-earnings .reference-banner-art{opacity:.2}.reference-earnings .earnings-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-earnings .earnings-summary>.account-tile{padding:15px;gap:12px;min-height:160px}.reference-earnings .earnings-summary>.account-tile:last-child{grid-column:1/-1;min-height:130px}.reference-earnings .earnings-summary .account-tile>small{display:block!important;font-size:11px}.reference-earnings .earnings-summary .account-tile>strong{font-size:27px}.reference-earnings .dashboard-widget{padding:17px}.reference-earnings .widget-heading{flex-wrap:wrap;align-items:flex-start}.reference-earnings .widget-heading h2{font-size:17px}.reference-earnings .chart-view-tabs{gap:2px}.reference-earnings .chart-view-tabs button{padding:7px 12px;font-size:10px}.reference-earnings .next-cycle{padding-right:70px}.reference-earnings .next-cycle:after{width:85px;height:100px}.reference-earnings .next-cycle>strong{font-size:25px}.reference-earnings .roi-cycle-row{grid-template-columns:27px minmax(0,1fr) auto;gap:8px}.reference-earnings .roi-cycle-row>.badge{grid-column:2}.reference-earnings .roi-cycle-row b small{display:block;margin:3px 0 0}.reference-earnings .roi-cycle-row>strong{font-size:13px}.reference-earnings .earnings-activity-subtitle{margin-left:0}.reference-earnings .roi-feature>.subtle-note{max-width:65%}}
/* Keep the reference metrics compact without clipping variable API values. */
.reference-earnings .roi-feature{gap:6px;padding:17px 22px}.reference-earnings .roi-feature>.eyebrow{margin:0}.reference-earnings .roi-feature>.eyebrow svg{width:22px;height:22px;padding:6px}.reference-earnings .roi-buckets{margin:0;min-height:0}.reference-earnings .roi-buckets>div{padding:0;border:0}.reference-earnings .roi-feature>.button{margin-top:4px}.reference-earnings .earnings-summary .account-caption{flex-direction:row;align-items:center}.reference-earnings .earnings-summary>.account-tile{gap:15px}.reference-earnings .roi-feature>.subtle-note{font-size:10px}.reference-earnings .roi-feature>.amount{font-size:39px}
@media(min-width:1001px){body[data-page=earnings] .reference-sidebar-promo h2{font-size:22px}.reference-earnings .earnings-summary .account-caption{flex-direction:row;align-items:center}.reference-earnings .earnings-summary>.account-tile{padding:21px}.reference-earnings .roi-feature{min-height:214px}.reference-earnings .earnings-summary>.account-tile{min-height:214px}}
@media(max-width:1250px){.reference-earnings .earnings-summary .account-caption{flex-direction:column;align-items:flex-start}}
/* Transaction History reference: scoped frontend presentation, original records and controls. */
body[data-page=history]{background:#f0f1ff;color:#0c164c}body[data-page=history] main{max-width:none;padding:16px 24px 28px}.reference-history{display:grid;gap:17px;min-width:0}.reference-history>*{min-width:0;margin:0}
.reference-history .customer-reference-banner{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:138px;padding:25px 35px;border-radius:20px;background:radial-gradient(ellipse at 85% 100%,#7953e9,transparent 60%),linear-gradient(110deg,#180869,#111b96 70%,#2524ad);color:white}.reference-history .reference-banner-copy{max-width:74%;z-index:1;padding-left:74px}.reference-history .reference-banner-copy:before{content:'';position:absolute;left:29px;top:27px;width:64px;height:76px;border-radius:35px;background:radial-gradient(circle at 20% 20%,#cb56ff,#2554f3 65%,#00ccf0);box-shadow:0 0 18px #a96aff77}.reference-history .reference-banner-copy:after{content:'✓';position:absolute;left:49px;top:46px;font-size:31px;color:white}.reference-history .reference-banner-copy h1{font-size:clamp(27px,2.8vw,42px);color:white;line-height:1.15;letter-spacing:-1px;margin:0 0 10px}.reference-history .reference-banner-copy em{font-style:normal;color:#16dfed}.reference-history .reference-banner-copy p{font-size:15px;color:white;margin:0;line-height:1.5}.reference-history .reference-banner-art{position:absolute;right:8%;bottom:-14px;width:260px;height:170px;background:url('../images/fintech-reference/customer-illustrations.png') left top/200% 200% no-repeat;pointer-events:none}
.reference-history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.reference-history .reference-summary-card{display:flex;align-items:center;gap:16px;min-width:0;padding:20px;border-radius:19px;border:1px solid #ffffffba;box-shadow:0 5px 14px #393ec51c;background:#f3f0ff}.reference-history .reference-summary-card>div{min-width:0}.reference-history .reference-summary-card small{font-size:12px;font-weight:650;color:#131a49}.reference-history .reference-summary-card strong{display:block;font-size:clamp(22px,2vw,32px);line-height:1.4;letter-spacing:-.6px;color:#12164c;overflow-wrap:anywhere}.reference-history .reference-summary-card p{font-size:11px;color:#4f6087;margin:0;line-height:1.5}.reference-history .reference-summary-icon{display:grid;place-items:center;flex-shrink:0;width:49px;height:49px;border-radius:16px;background:#e1d5ff;color:#7734ff}.reference-history .reference-summary-icon svg{width:28px;height:28px}.reference-history .reference-tone-green{background:linear-gradient(115deg,#f0fff8,#e5fbf0)}.reference-history .reference-tone-green strong{color:#008d3e}.reference-history .reference-tone-green .reference-summary-icon{background:#b9f7d9;color:#009a4d}.reference-history .reference-tone-pink{background:linear-gradient(115deg,#fff8fa,#ffedf3)}.reference-history .reference-tone-pink strong{color:#e61441}.reference-history .reference-tone-pink .reference-summary-icon{background:#ffd3e0;color:#ee1754}.reference-history .reference-tone-blue{background:linear-gradient(115deg,#f4faff,#e3f0ff)}.reference-history .reference-tone-blue strong{color:#1545f4}.reference-history .reference-tone-blue .reference-summary-icon{background:#cbdcff;color:#155cff}.reference-history .reference-tone-purple{background:linear-gradient(115deg,#fffaff,#f0eaff)}
.reference-history .card.panel{border:1px solid #fff;border-radius:23px;padding:24px;background:linear-gradient(125deg,#fffffff2,#f5f5ff);box-shadow:0 6px 17px #484dc01c;min-width:0}.reference-history .section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.reference-history .section-heading h3{font-size:22px;letter-spacing:-.6px;color:#111747;margin:0 0 5px}.reference-history .section-heading h3:before{content:'≡';display:inline-grid;place-items:center;width:43px;height:43px;margin-right:12px;border-radius:14px;background:#ccd5ff;color:#1645ff;vertical-align:middle;font-size:27px}.reference-history-tabs{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.reference-history-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #d6dcff;background:#fff;padding:11px 18px;border-radius:24px;font-size:12px;font-weight:650;color:#171b51;min-height:42px}.reference-history-tabs svg{width:20px;height:20px;color:#6630ff}.reference-history-tabs button.active{background:#1244ff;color:white;border-color:#1244ff;box-shadow:0 3px 10px #1545ff22}.reference-history-tabs button.active svg{color:white}
.reference-history .record-toolbar{display:flex;gap:14px;align-items:center;margin-bottom:14px}.reference-history .record-search{display:flex;align-items:center;gap:9px;flex:1;min-width:0;border:1px solid #d2d9ff;background:#fff;border-radius:13px;padding:2px 13px}.reference-history .record-search svg{width:21px;height:21px;flex-shrink:0;color:#606ab4}.reference-history .record-search input{border:0;background:transparent;min-width:0;min-height:44px;font-size:13px;padding:10px 0;color:#19265c}.reference-history .record-toolbar>.button{background:#eef0ff;border:1px solid #d6dbff;border-radius:12px;color:#233ad0;font-size:12px;min-height:44px}.reference-history .advanced-filters{border:1px solid #dce0fa;border-radius:13px;padding:11px 15px;margin-bottom:18px;background:#fafaff}.reference-history .advanced-filters summary{font-size:12px;font-weight:650;color:#2d397c;cursor:pointer}.reference-history .filter-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end;margin-top:13px}.reference-history .filter-bar label{font-size:11px}.reference-history .filter-bar input,.reference-history .filter-bar select{min-width:0;width:100%;font-size:12px;min-height:37px;border:1px solid #d5daf7;border-radius:9px}
.reference-history .statement-labels,.reference-history .activity-row[data-transaction]{display:grid;grid-template-columns:40px minmax(160px,2fr) minmax(100px,1.15fr) minmax(120px,1.3fr) minmax(80px,1fr) minmax(85px,1fr) 42px;gap:14px;align-items:center}.reference-history .statement-labels{background:#eeedff;color:#252c72;padding:13px 14px;border-radius:13px 13px 0 0;font-size:9px;font-weight:750;letter-spacing:0}.reference-history .activity-row[data-transaction]{padding:13px 14px;border-bottom:1px solid #e2e6fb;background:#fbfcff;cursor:pointer;min-width:0}.reference-history .activity-row[data-transaction]:nth-child(even){background:#f5f7ff}.reference-history .reference-row-id{font-size:11px;font-weight:650;color:#24306f}.reference-row-description{display:flex;align-items:center;gap:13px;min-width:0}.reference-history .reference-row-description b{font-size:12px;color:#151c4f;display:block;overflow-wrap:anywhere}.reference-history .reference-row-description small{font-size:10px;color:#4e5f9e;display:block;margin-top:6px}.reference-history .reference-row-symbol{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;flex-shrink:0;background:#d3fbea}.reference-history .reference-row-symbol svg{width:22px;height:22px}.reference-history .reference-row-symbol.reference-money-out{background:#ffe0e8}.reference-history .reference-money-in{color:#009141}.reference-history .reference-money-out{color:#e91b49}.reference-history .reference-category{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:7px 10px;background:#e1edff;color:#1745df;border-radius:16px;font-size:10px;font-weight:650}.reference-history .reference-category svg{width:15px;height:15px;flex-shrink:0}.reference-history .reference-category-investment{background:#e8d7ff;color:#7022f1}.reference-history .reference-category-roi{background:#d9f7e6;color:#008e50}.reference-history .activity-row time{font-size:11px;color:#26346f;line-height:1.6}.reference-history .activity-row>strong{font-size:14px;white-space:nowrap}.reference-history .badge{font-size:10px;padding:7px 10px;border-radius:17px;justify-self:start}.reference-history .badge.green{background:#dcfae9;color:#008c43;border-color:#d0f2e1}.reference-history .badge.blue{background:#dce8ff;color:#1949eb}.reference-history .reference-view-button{width:35px;height:35px;border:1px solid #dce1ff;border-radius:11px;background:#fff;color:#1d3aab;display:grid;place-items:center}.reference-history .reference-view-button svg{width:19px;height:19px}.reference-history .pagination{margin-top:15px;padding:12px 6px 0;display:flex;justify-content:space-between;gap:12px;align-items:center;color:#45548c;font-size:12px}.reference-history .pagination-controls{display:flex;align-items:center;gap:15px}.reference-history .pagination-controls button{padding:10px;border:1px solid #d9dfff;border-radius:12px;background:#f7f8ff;color:#1644f2}.reference-history .empty-state{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#566796}
@media(min-width:1001px){body[data-page=history]{--sidebar-width:245px}body[data-page=history] .topbar{height:64px;min-height:64px}body[data-page=history] .sidebar{background:linear-gradient(155deg,#021036,#03194e 70%,#18165a)}body[data-page=history] .sidebar nav button.active{background:linear-gradient(110deg,#00bee9,#1040ff 75%,#00b8eb);box-shadow:0 0 17px #008cff55}body[data-page=history] .reference-sidebar-promo{position:relative;margin:100px 19px 16px;padding:85px 18px 19px;border:1px solid #3bd9ff;border-radius:23px;background:linear-gradient(135deg,#0e3d83,#1b1966 55%,#552a9b);color:white;box-shadow:0 0 15px #254dff33}body[data-page=history] .reference-sidebar-promo h2{font-size:22px;line-height:1.2;color:white;margin:0 0 13px}body[data-page=history] .reference-sidebar-promo p{font-size:12px;color:#e3e9ff;line-height:1.5}body[data-page=history] .reference-sidebar-promo .button{width:100%;border-radius:15px;background:#f7f1ff;color:#1632a7}body[data-page=history] .reference-promo-art{position:absolute;top:-50px;right:10px;width:175px;height:140px;background:url('../images/fintech-reference/illustrations.png') right top/200% 200% no-repeat}}
@media(max-width:1300px){.reference-history .section-heading{align-items:flex-start;flex-direction:column}.reference-history .statement-labels,.reference-history .activity-row[data-transaction]{grid-template-columns:30px minmax(120px,2fr) minmax(85px,1fr) minmax(95px,1fr) 85px 80px 35px;gap:8px}.reference-history .reference-summary-card{padding:16px;gap:10px}.reference-history .reference-summary-icon{width:38px;height:38px}.reference-history .reference-summary-card strong{font-size:24px}}
@media(max-width:1000px){.reference-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-history .statement-labels{display:none}.reference-history .activity-row[data-transaction]{grid-template-columns:30px minmax(0,1fr) auto;gap:9px;padding:15px;border-radius:12px;margin:8px 0;border:1px solid #e1e6fa}.reference-history .reference-row-description{grid-column:2;grid-row:1}.reference-history .reference-category{grid-column:2;grid-row:2}.reference-history .activity-row time{grid-column:2;grid-row:3}.reference-history .activity-row>strong{grid-column:3;grid-row:1}.reference-history .activity-row>.badge{grid-column:3;grid-row:2}.reference-history .reference-view-button{grid-column:3;grid-row:3;justify-self:end}.reference-history .filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-history .reference-banner-art{right:0;opacity:.4}}
@media(max-width:600px){body[data-page=history] main{padding:14px}.reference-history .customer-reference-banner{padding:22px;min-height:155px}.reference-history .reference-banner-copy{padding-left:0;max-width:100%}.reference-history .reference-banner-copy:before,.reference-history .reference-banner-copy:after{display:none}.reference-history .reference-banner-copy h1{font-size:28px}.reference-history .reference-banner-copy p{font-size:12px}.reference-history .reference-banner-art{opacity:.2}.reference-history-summary{gap:10px}.reference-history .reference-summary-card{flex-direction:column;align-items:flex-start;padding:15px;gap:10px}.reference-history .reference-summary-card strong{font-size:23px}.reference-history .reference-summary-card p{font-size:10px}.reference-history .card.panel{padding:15px}.reference-history .section-heading h3{font-size:18px}.reference-history .section-heading h3:before{width:33px;height:33px;margin-right:7px}.reference-history-tabs{gap:6px}.reference-history-tabs button{padding:8px 11px;font-size:10px;min-height:35px;gap:5px}.reference-history-tabs svg{width:16px;height:16px}.reference-history .record-toolbar{gap:7px}.reference-history .record-toolbar>.button{font-size:10px;padding:7px;min-height:40px}.reference-history .record-search{padding-inline:8px;gap:5px}.reference-history .record-search input{font-size:11px}.reference-history .reference-row-description{gap:7px}.reference-history .reference-row-symbol{width:26px;height:30px;border-radius:8px}.reference-history .reference-row-description b{font-size:11px}.reference-history .activity-row>strong{font-size:12px}.reference-history .badge{padding:5px 7px;font-size:9px}.reference-history .reference-category{font-size:9px;padding:5px 7px}.reference-history .pagination{flex-direction:column;align-items:flex-start}.reference-history .pagination-controls{width:100%;justify-content:space-between}.reference-history .filter-bar{grid-template-columns:minmax(0,1fr)}}
/* Property reference composition; real photos, records and edit handlers retained. */
body[data-page=property]{background:#f0f2ff;color:#101a4a}body[data-page=property] main{max-width:none;padding:16px 24px 26px}.reference-property{display:grid;gap:17px;min-width:0}.reference-property>*{min-width:0;margin:0}
.reference-property .customer-reference-banner{position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 30px 40px;min-height:150px;background:radial-gradient(ellipse at 78% 0,#51a5ff,transparent 55%),linear-gradient(115deg,#252078,#3c27af,#1552c9);border-radius:21px;color:white}.reference-property .reference-banner-copy{max-width:65%;z-index:1}.reference-property .reference-banner-copy h1{color:white;font-size:clamp(28px,2.8vw,42px);line-height:1.15;letter-spacing:-1px;margin:0 0 10px}.reference-property .reference-banner-copy em{color:#28d5f5;font-style:normal}.reference-property .reference-banner-copy p{font-size:14px;color:white;margin:0;line-height:1.5}.reference-property .reference-banner-art{position:absolute;right:18%;bottom:-26px;width:310px;height:200px;background:url('../images/fintech-reference/illustrations.png') right bottom/200% 200% no-repeat;opacity:.85;pointer-events:none}.reference-property .reference-banner-action,.reference-property .customer-reference-banner>[data-property-record-new]{position:relative;z-index:1;border:0;border-radius:28px;background:white;color:#0747ff;min-height:48px;padding:13px 22px;font-size:13px;box-shadow:0 7px 18px #182e8030;white-space:nowrap}
.reference-property .reference-property-workspace{display:grid;gap:16px;padding:0;margin-top:-24px;z-index:1;min-width:0}.reference-property-focus{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.8fr);gap:28px;align-items:center;border:1px solid #ffffffbb;border-radius:25px;background:linear-gradient(125deg,#fff,#f4f5ff);padding:24px;box-shadow:0 7px 20px #4959c51b;min-width:0}.reference-property-gallery{position:relative;min-width:0}.reference-property-photo{height:292px;border-radius:17px;overflow:hidden;border:1px solid #e0e6fa;background:linear-gradient(135deg,#e0ebff,#f5f6ff)}.reference-property-photo img{display:block;width:100%;height:100%;object-fit:cover}.reference-property .reference-expand-photo{position:absolute;right:12px;top:12px;display:grid;place-items:center;background:#071a54b3;color:white;border:1px solid #ffffff66;border-radius:10px;width:35px;height:35px;cursor:pointer}.reference-property .reference-expand-photo svg{width:22px;height:22px}.reference-photo-count{position:absolute;bottom:11px;left:12px;border-radius:9px;padding:6px 9px;background:#071a5499;color:white;font-size:11px;backdrop-filter:blur(5px)}.reference-property-intro{min-width:0}.reference-property-badge{display:inline-flex;align-items:center;gap:6px;background:#e8e5ff;color:#2830d5;font-size:11px;font-weight:700;border-radius:18px;padding:6px 11px}.reference-property-title{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:12px 0}.reference-property-title h2{color:#0b1545;font-size:clamp(26px,2.7vw,40px);line-height:1.15;letter-spacing:-1px;margin:0;overflow-wrap:anywhere}.reference-property-title .reference-edit{margin-left:auto}.reference-property-intro>p{font-size:15px;line-height:1.6;color:#546596;margin:0 0 25px;overflow-wrap:anywhere}
.reference-property-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:#e9ecff;border-radius:18px;padding:20px 5px}.reference-property-facts>div{padding:0 14px;border-right:1px solid #d4dcff;min-width:0}.reference-property-facts>div:last-child{border-right:0}.reference-property-facts dt{display:flex;align-items:center;gap:7px;font-size:11px;color:#556496;line-height:1.5}.reference-property-facts dt svg{width:23px;height:23px;flex-shrink:0;color:#174aff}.reference-property-facts dd{font-size:14px;font-weight:700;color:#111948;margin:8px 0 0;overflow-wrap:anywhere}
.reference-property-panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0}.reference-detail-panel{padding:20px;border:1px solid #ffffffc9;border-radius:23px;background:linear-gradient(130deg,#fff,#f5f6ff);box-shadow:0 6px 15px #414ebc1c;min-width:0}.reference-detail-panel>header{display:flex;align-items:flex-start;gap:10px;margin-bottom:19px}.reference-detail-panel>header>span{width:43px;height:43px;flex-shrink:0;background:#dce5ff;color:#174cff;border-radius:14px;display:grid;place-items:center}.reference-detail-panel:nth-child(2)>header>span{background:#e4d8ff;color:#6f25ed}.reference-detail-panel:nth-child(3)>header>span{background:#d4f5df;color:#00a450}.reference-detail-panel>header svg{width:26px;height:26px}.reference-detail-panel>header>div{min-width:0;flex:1}.reference-detail-panel h2{font-size:17px;color:#101748;letter-spacing:-.4px;margin:3px 0 5px}.reference-detail-panel header p{font-size:11px;color:#5d6d9b;margin:0;line-height:1.5}.reference-property .reference-edit{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:8px 11px;border:1px solid #cbd6ff;border-radius:13px;background:#f9faff;color:#164aff;font-size:12px;cursor:pointer;flex-shrink:0}.reference-property .reference-edit svg{width:15px;height:15px}.reference-owner{display:flex;align-items:center;gap:15px;margin:0 0 15px}.reference-owner-avatar{width:75px;height:75px;display:grid;place-items:center;border-radius:50%;border:3px solid #dfd8ff;background:#eaf0ff;font-size:25px;color:#3951a4;font-weight:700;flex-shrink:0}.reference-owner h3{font-size:20px;margin:0 0 7px;color:#101849}.reference-detail-panel dl{margin:0}.reference-detail-panel dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:12px;padding:14px 0;border-top:1px solid #dde5fb}.reference-detail-panel dt{display:flex;gap:8px;align-items:center;color:#4e6095;font-size:12px;line-height:1.6}.reference-detail-panel dt svg{width:20px;height:20px;flex-shrink:0;color:#1c49e8}.reference-detail-panel dd{font-size:12px;line-height:1.65;color:#101747;font-weight:650;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.reference-property .property-record-note,.reference-property .reference-data-note{font-size:10px;line-height:1.6;color:#7682a6;margin:0}.reference-property .property-linked-register{margin:0;border-radius:18px}.reference-property-switch{display:flex;gap:8px;flex-wrap:wrap}.reference-property-switch button{border:1px solid #d6dfff;border-radius:15px;background:white;color:#3d5290;padding:8px 15px;font-size:12px}.reference-property-switch button.active{background:#1847ff;color:white;border-color:#1847ff}.reference-property .pagination{font-size:12px;color:#6677a2;display:flex;align-items:center;justify-content:space-between;gap:15px}.reference-property .property-record-empty{background:linear-gradient(125deg,#fff,#edf0ff);border-radius:24px;border:1px solid #d8dfff;box-shadow:0 6px 18px #314fbd12;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center}.reference-property .property-profile-workspace:not(.reference-property-workspace){margin-top:-15px;z-index:1}.reference-full-photo img{max-width:100%;max-height:75vh;object-fit:contain;border-radius:12px}
@media(min-width:1001px){body[data-page=property]{--sidebar-width:245px}body[data-page=property] .topbar{height:64px;min-height:64px}body[data-page=property] .sidebar{background:linear-gradient(150deg,#041237,#03174c 65%,#171458)}body[data-page=property] .sidebar nav button.active{background:linear-gradient(110deg,#00b8f1,#1749ff 70%,#00b3e5);box-shadow:0 0 15px #008dff55}body[data-page=property] .reference-sidebar-promo{position:relative;margin:105px 19px 16px;padding:65px 18px 18px;border:1px solid #3bcfff;border-radius:22px;background:linear-gradient(135deg,#163b82,#26165e 65%,#7028b7);box-shadow:0 0 20px #5940ff33;color:white}body[data-page=property] .reference-sidebar-promo h2{color:white;font-size:22px;line-height:1.2;margin:0 0 12px}body[data-page=property] .reference-sidebar-promo p{font-size:12px;color:#e5ebff;line-height:1.5}body[data-page=property] .reference-sidebar-promo .button{width:100%;background:#f5f1ff;color:#133fdb;border-radius:15px}body[data-page=property] .reference-promo-art{position:absolute;top:-80px;left:5px;width:195px;height:145px;background:url('../images/fintech-reference/illustrations.png') right bottom/200% 200% no-repeat}}
@media(max-width:1250px){.reference-property-focus{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:20px}.reference-property-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.reference-property-facts>div:nth-child(2){border:0}.reference-property-panels{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-detail-panel:last-child{grid-column:1/-1}}
@media(max-width:760px){body[data-page=property] main{padding:14px}.reference-property .customer-reference-banner{padding:23px 20px 38px;min-height:190px;align-items:flex-start;flex-direction:column;gap:15px}.reference-property .reference-banner-copy{max-width:100%}.reference-property .reference-banner-copy h1{font-size:30px}.reference-property .reference-banner-copy p{font-size:12px}.reference-property .reference-banner-art{right:0;opacity:.3;width:200px;height:155px}.reference-property .customer-reference-banner>[data-property-record-new]{font-size:12px;padding:10px 16px;min-height:40px}.reference-property-focus{grid-template-columns:minmax(0,1fr);padding:16px;gap:20px;border-radius:21px}.reference-property-photo{height:235px}.reference-property-title h2{font-size:29px}.reference-property-intro>p{font-size:13px;margin-bottom:18px}.reference-property-panels{grid-template-columns:minmax(0,1fr)}.reference-detail-panel:last-child{grid-column:auto}.reference-detail-panel{padding:18px}.reference-property-facts{padding:16px 0;gap:15px}.reference-property-facts dt{font-size:10px}.reference-property-facts dd{font-size:12px}.reference-detail-panel h2{font-size:16px}.reference-detail-panel>header{gap:8px}.reference-detail-panel>header>span{width:35px;height:35px}.reference-detail-panel .reference-edit{font-size:11px;padding:7px}.reference-owner-avatar{width:60px;height:60px}.reference-detail-panel dl>div{gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.reference-detail-panel dt,.reference-detail-panel dd{font-size:11px}}
/* Referral reference composition; real referral and campaign responses remain authoritative. */
body[data-page=referral]{background:#f2f1ff;color:#0c1749}body[data-page=referral] main{max-width:none;padding:16px 24px 28px}.reference-referral{display:grid;gap:20px;min-width:0}.reference-referral>*{min-width:0;margin:0}.reference-referral .reward-workspace{display:block;margin:0}.reference-referral .referral-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(180px,.8fr);gap:30px;align-items:center;border:1px solid #7951ff80;border-radius:25px;background:radial-gradient(ellipse at 95% 5%,#b15ae9,transparent 50%),radial-gradient(ellipse at 60% 110%,#0358ea,transparent 70%),linear-gradient(115deg,#090d60,#3220a6 65%,#1442bd);padding:30px 36px;color:white;min-height:225px;box-shadow:0 6px 16px #5144bc26}
.reference-referral .reference-referral-intro{padding-right:22px;border-right:1px solid #a69bff88;min-width:0}.reference-referral .reference-referral-intro h1{color:white;font-size:clamp(30px,3vw,44px);line-height:1.1;margin:0 0 18px;letter-spacing:-1px}.reference-referral .reference-referral-intro em{font-style:normal;color:#4de6ff;background:linear-gradient(100deg,#00e8ff,#b672ff,#ff8be8);background-clip:text;-webkit-text-fill-color:transparent}.reference-referral .reference-referral-intro p{color:#efebff;font-size:14px;line-height:1.65;margin:0;max-width:380px}.reference-referral .reference-referral-code{position:relative;z-index:1;min-width:0}.reference-referral .reference-referral-code h2{font-size:18px;color:white;margin:0 0 12px}.reference-referral .referral-code-control{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px dashed #c2baff;border-radius:15px;background:#11218588;padding:13px 18px;max-width:100%;min-width:0;margin:0 0 18px}.reference-referral .referral-code-control code{font-size:clamp(17px,1.7vw,27px);letter-spacing:2px;font-weight:750;color:white;overflow-wrap:anywhere;min-width:0}.reference-referral .referral-code-control button{color:#e9e9ff;padding:6px;display:flex;align-items:center;gap:5px;font-size:11px}.reference-referral .referral-code-control svg{width:20px;height:20px}.reference-referral .referral-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0}.reference-referral .referral-actions .button{display:flex;align-items:center;justify-content:center;gap:10px;border-radius:25px;border:1px solid #5ae7ff;background:linear-gradient(110deg,#00cbf5,#1746ff 65%,#b13cff);box-shadow:0 0 15px #2bf4ff50;color:white;font-size:14px;padding:12px 24px;min-height:45px}.reference-referral .referral-actions>.text-button{color:white;font-size:12px;text-decoration:underline;text-underline-offset:3px}.reference-referral .referral-hero-art{width:100%;position:relative;z-index:0;display:flex;justify-content:center}.reference-referral .referral-hero-art img{width:190px;height:auto;max-width:100%;border-radius:30px;box-shadow:0 15px 30px #0c155e44;transform:rotate(-5deg)}.reference-referral .referral-hero:after{content:'';position:absolute;right:-8px;bottom:-30px;width:215px;height:170px;background:url('../images/fintech-reference/illustrations.png') right bottom/200% 200% no-repeat;opacity:.45;z-index:-1}
.reference-referral .reward-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}.reference-referral .reward-stat{position:relative;min-width:0;display:grid;grid-template-columns:51px minmax(0,1fr);align-content:center;align-items:center;column-gap:15px;row-gap:4px;padding:20px;border-radius:21px;border:1px solid #ffffffc9;box-shadow:0 7px 17px #483dc91c;background:linear-gradient(120deg,#f9fcff,#e8f2ff);min-height:110px}.reference-referral .reward-stat .reference-summary-icon{grid-row:1/3;width:51px;height:51px;border-radius:17px;background:#badfff;color:#098dff;display:grid;place-items:center}.reference-referral .reference-summary-icon svg{width:29px;height:29px}.reference-referral .reward-stat small{font-size:12px;color:#17204e}.reference-referral .reward-stat strong{font-size:33px;color:#0c1648;line-height:1.2}.reference-referral .reward-stat:nth-child(2){background:linear-gradient(120deg,#fcfaff,#f0eaff)}.reference-referral .reward-stat:nth-child(2) .reference-summary-icon{color:#8a22ff;background:#e5ceff}.reference-referral .reward-stat:nth-child(3){background:linear-gradient(120deg,#fffdfa,#fff0e7)}.reference-referral .reward-stat:nth-child(3) .reference-summary-icon{color:#f98c00;background:#ffe4ca}.reference-referral .reward-stat:nth-child(4){background:linear-gradient(120deg,#fbfffc,#e5fbef)}.reference-referral .reward-stat:nth-child(4) .reference-summary-icon{color:#00b85d;background:#caf8de}
.reference-referral .reference-referral-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0}.reference-referral .reference-referral-panel{min-width:0;border:1px solid #d7d8ff;border-radius:24px;background:linear-gradient(120deg,#fffffff0,#f5f6ff);box-shadow:0 6px 17px #4649b91c;padding:22px;position:relative}.reference-referral .reference-referral-panel:nth-child(n+3){grid-column:1/-1}.reference-referral .section-heading{margin-bottom:15px}.reference-referral .section-heading>div{position:relative;padding-left:53px;min-height:44px}.reference-referral .section-heading h3{font-size:22px;color:#101746;letter-spacing:-.5px;margin:0 0 5px}.reference-referral .reference-referral-heading-icon{position:absolute;left:0;top:0;width:41px;height:41px;border-radius:15px;background:#d9e6ff;color:#1951ff;display:grid;place-items:center}.reference-referral .reference-referral-heading-icon svg{width:24px;height:24px}.reference-referral .reference-referral-panel:nth-child(2) .reference-referral-heading-icon{background:#e8dcff;color:#812aff}.reference-referral .reference-referral-subtitle{font-size:12px;color:#58689c;margin:0;line-height:1.5}.reference-referral .reference-referral-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:320px;border:1px solid white;border-radius:23px;padding:25px;background:linear-gradient(125deg,#fff,#f5f7ff);box-shadow:0 4px 8px #4e62b013}.reference-referral .empty-icon{width:110px;height:110px;margin-bottom:16px;background:radial-gradient(circle at 25% 15%,#d3efff,#dcd5ff);border-radius:35px;display:grid;place-items:center;box-shadow:0 8px 24px #8373e020;color:#6c36ef}.reference-referral .empty-icon svg{width:64px;height:64px}.reference-referral .empty-state h3{font-size:22px;color:#11164a;letter-spacing:-.5px;margin:0 0 9px}.reference-referral .empty-state p{font-size:13px;color:#586ba0;line-height:1.7;max-width:400px;margin:0 0 17px}.reference-referral .empty-state>.button{padding:12px 25px;border-radius:25px;background:linear-gradient(110deg,#009dff,#153dff);color:white;border:0;box-shadow:0 4px 10px #1b55ff2b;display:flex;gap:16px;align-items:center;font-size:14px;min-height:43px}.reference-referral .empty-inline{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:320px;border:1px solid #ded4ff;border-radius:24px;padding:30px;background:linear-gradient(125deg,#fbfaff,#f0edff);gap:20px}.reference-referral .empty-inline>svg{width:50px;height:50px;box-sizing:content-box;padding:18px;background:#e7daff;color:#8b2fff;border-radius:50%}.reference-referral .empty-inline strong{color:#101748;font-size:21px;letter-spacing:-.4px}.reference-referral .empty-inline p{font-size:13px;color:#596b9d;line-height:1.7;margin:10px 0 0}.reference-referral .data-table{font-size:12px}.reference-referral .data-table th{background:#ecebff;color:#414789}.reference-referral .campaign{border:1px solid #e1dcff;background:#faf9ff;border-radius:17px;padding:18px;color:#192151}
@media(min-width:1001px){body[data-page=referral]{--sidebar-width:245px}body[data-page=referral] .topbar{height:64px;min-height:64px}body[data-page=referral] .sidebar{background:linear-gradient(160deg,#031135,#04194d 65%,#141452)}body[data-page=referral] .sidebar nav button.active{background:linear-gradient(110deg,#00c6eb,#1145ff 75%,#00b3e3);box-shadow:0 0 18px #00a2ff55}body[data-page=referral] .reference-sidebar-promo{position:relative;margin:110px 19px 16px;padding:65px 18px 18px;border:1px solid #36d4ff;border-radius:23px;background:linear-gradient(135deg,#103b85,#21185e 65%,#7328a7);color:white;box-shadow:0 0 20px #6640ff33}body[data-page=referral] .reference-sidebar-promo h2{color:white;font-size:21px;line-height:1.2;margin:0 0 13px}body[data-page=referral] .reference-sidebar-promo p{color:#e7ecff;font-size:12px;line-height:1.5}body[data-page=referral] .reference-sidebar-promo .button{width:100%;background:#f5f1ff;color:#1744d6;border-radius:20px}body[data-page=referral] .reference-promo-art{position:absolute;top:-85px;left:7px;width:190px;height:145px;background:url('../images/fintech-reference/illustrations.png') right bottom/200% 200% no-repeat}}
@media(max-width:1200px){.reference-referral .referral-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px;padding:28px}.reference-referral .referral-hero-art{position:absolute;right:-35px;bottom:-20px;width:140px;opacity:.2;z-index:-1}.reference-referral .reward-stat{padding:15px;gap:10px;grid-template-columns:40px minmax(0,1fr)}.reference-referral .reward-stat .reference-summary-icon{width:40px;height:40px}.reference-referral .reward-stat small{font-size:11px}.reference-referral .section-heading h3{font-size:19px}}
@media(max-width:760px){body[data-page=referral] main{padding:14px}.reference-referral{gap:15px}.reference-referral .referral-hero{grid-template-columns:minmax(0,1fr);padding:25px 22px;gap:23px}.reference-referral .reference-referral-intro{border-right:0;border-bottom:1px solid #a69bff77;padding:0 0 20px}.reference-referral .reference-referral-intro h1{font-size:35px}.reference-referral .reference-referral-intro p{font-size:12px}.reference-referral .reference-referral-code h2{font-size:17px}.reference-referral .referral-code-control code{font-size:23px}.reference-referral .referral-actions{gap:12px}.reference-referral .referral-actions .button{font-size:12px;padding:10px 18px}.reference-referral .reward-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.reference-referral .reward-stat{grid-template-columns:minmax(0,1fr);padding:15px;min-height:145px}.reference-referral .reward-stat .reference-summary-icon{grid-row:auto;width:40px;height:40px}.reference-referral .reward-stat strong{font-size:30px}.reference-referral .reference-referral-panels{grid-template-columns:minmax(0,1fr)}.reference-referral .reference-referral-panel:nth-child(n+3){grid-column:auto}.reference-referral .reference-referral-panel{padding:16px}.reference-referral .section-heading h3{font-size:18px}.reference-referral .reference-referral-subtitle{font-size:11px}.reference-referral .reference-referral-empty,.reference-referral .empty-inline{min-height:290px;padding:20px}.reference-referral .empty-state h3,.reference-referral .empty-inline strong{font-size:19px}.reference-referral .empty-state p,.reference-referral .empty-inline p{font-size:12px}.reference-referral .referral-code-control{padding:12px}.reference-referral .referral-code-control button{font-size:10px}}
/* Profile reference composition; saved identity, private photos and bank states remain unchanged. */
body[data-page=profile]{background:#f1f2ff;color:#101849}body[data-page=profile] main{max-width:none;padding:16px 24px 28px}.reference-profile{display:grid;gap:18px;min-width:0}.reference-profile>*{min-width:0;margin:0}.reference-profile .customer-reference-banner{position:relative;isolation:isolate;overflow:hidden;min-height:155px;padding:26px 30px 55px;border-radius:23px;background:radial-gradient(ellipse at 90% 0,#16b5f4,transparent 60%),linear-gradient(115deg,#3c168e,#3433c4 55%,#1375ec);color:white}.reference-profile .reference-banner-copy{position:relative;z-index:1;max-width:75%}.reference-profile .reference-banner-copy h1{color:white;font-size:clamp(29px,2.8vw,42px);letter-spacing:-1px;margin:0 0 10px}.reference-profile .reference-banner-copy em{color:#24dff0;font-style:normal}.reference-profile .reference-banner-copy p{color:#f1edff;font-size:14px;margin:0;line-height:1.5}.reference-profile .reference-banner-art{position:absolute;right:0;bottom:-50px;width:320px;height:240px;background:url('../images/fintech-reference/illustrations.png') right bottom/200% 200% no-repeat;opacity:.85;pointer-events:none}
.reference-profile .profile-identity-hero{position:relative;z-index:1;overflow:visible;display:flex;align-items:center;gap:22px;margin:-45px 20px 0;padding:23px;border:1px solid #c1b4ff88;border-radius:24px;background:linear-gradient(110deg,#4522a9ef,#17449be6);box-shadow:0 0 20px #7b5aff35;color:white;min-width:0}.reference-profile .profile-hero-shape{display:none}.reference-profile .profile-portrait{width:132px;height:132px;border-radius:50%;border:5px solid white;outline:2px solid #867bff;background:linear-gradient(135deg,#b9e8ff,#6951df);box-shadow:0 0 25px #26e7ff55;transform:none;font-size:42px}.reference-profile .profile-camera{width:35px;height:35px;border-radius:50%;background:#1544ff;color:white;border:3px solid white;bottom:4px;right:0}.reference-profile .profile-hero-copy{flex:1;min-width:0}.reference-profile .profile-hero-copy>.eyebrow{display:none}.reference-profile .profile-hero-copy h2{font-size:28px;color:white;letter-spacing:-.5px;margin:0 0 8px;overflow-wrap:anywhere}.reference-profile .profile-email{color:#f1efff;font-size:14px;overflow-wrap:anywhere}.reference-profile .profile-category{color:#0825c1;background:#e5dcff;border:0;border-radius:20px;padding:7px 14px;font-size:12px}.reference-profile .profile-categories{margin-top:12px}.reference-profile .profile-photo-actions{gap:11px;margin-top:9px}.reference-profile .profile-photo-actions button{color:#dbedff;font-size:10px}.reference-profile .profile-photo-actions small{font-size:9px;color:#c8d6ff}.reference-profile .profile-membership{border-left:1px solid #9a9bda88;padding-left:22px;min-width:135px;color:white}.reference-profile .profile-membership>span{color:#e6e7ff;font-size:10px}.reference-profile .profile-membership strong{font-size:17px;color:white}.reference-profile .profile-membership small{font-size:10px;color:#c8d7ff}.reference-profile .reference-profile-status{display:flex;gap:20px;align-items:center;margin:0;padding:0;background:none;border:0;min-width:0}.reference-profile .reference-profile-status>div{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:105px;color:white}.reference-profile .reference-profile-status>div>svg{width:28px;height:28px;color:#45deff}.reference-profile .reference-profile-status>div>span:not(.badge){color:#e1e8ff;font-size:12px}.reference-profile .reference-profile-status .badge{background:#069f9480;border:1px solid #35e9cf55;color:#a2ffe3;font-size:11px}.reference-profile .reference-profile-status .badge.amber,.reference-profile .reference-profile-status .badge.neutral{background:#2e3e8f;color:#ffdf91;border-color:#9e96c9}
.reference-profile #profile-live-message:empty{display:none}.reference-profile .profile-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}.reference-profile .profile-info-panel,.reference-profile .profile-bank-panel{padding:23px;border:1px solid #ffffffc9;border-radius:25px;background:linear-gradient(125deg,#fff,#f6f6ff);box-shadow:0 7px 18px #3f4cbb1a;min-width:0}.reference-profile .profile-section-title{gap:13px;align-items:center;margin-bottom:20px}.reference-profile .profile-section-title h2{font-size:21px;color:#111846;letter-spacing:-.5px;margin:0 0 5px}.reference-profile .profile-section-title p{font-size:12px;color:#556797;margin:0}.reference-profile .profile-section-title>div{flex:1;min-width:0}.reference-profile .profile-section-icon{width:47px;height:47px;border-radius:14px;background:#ece2ff;color:#7832ec;flex-shrink:0}.reference-profile .profile-section-icon.bank{background:#daf1ff;color:#00a4d5}.reference-profile .profile-section-icon svg{width:28px;height:28px}.reference-profile .button.primary{background:linear-gradient(110deg,#00aaf5,#2240ff 65%,#982bfa);border:0;border-radius:15px;color:white;min-height:38px;padding:9px 15px;font-size:12px;box-shadow:0 5px 13px #3e4bff24}.reference-profile .profile-detail-list{display:block;margin:0}.reference-profile .profile-detail-list>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:15px;align-items:start;padding:15px 5px;border-bottom:1px solid #dde4fb}.reference-profile .profile-detail-list dt{font-size:13px;color:#4d6097}.reference-profile .profile-detail-list dd{font-size:13px;line-height:1.6;color:#12194a;font-weight:650;margin:0;overflow-wrap:anywhere}.reference-profile .profile-address-section{margin-top:14px;padding-top:15px;border-color:#dde4fb}.reference-profile .profile-address-heading h3{font-size:13px;color:#4d6097}.reference-profile .profile-address-heading button{font-size:11px;color:#234aff}.reference-profile .profile-address-section address{font-size:13px;color:#172252;line-height:1.65}.reference-profile .profile-small-note{font-size:10px;line-height:1.6;color:#7480a1}
.reference-profile .profile-bank-card{position:relative;isolation:isolate;overflow:hidden;border:1px solid #d7e3ff;border-radius:22px;background:radial-gradient(ellipse at 100% 10%,#afcfffaa,transparent 65%),linear-gradient(135deg,#eef2ff,#dcefff);padding:22px;box-shadow:none;transform:none}.reference-profile .profile-bank-card:after{content:'';position:absolute;right:15px;bottom:60px;width:100px;height:100px;background:url('../images/fintech-reference/customer-illustrations.png') left bottom/200% 200% no-repeat;opacity:.2;z-index:-1;pointer-events:none}.reference-profile .profile-bank-card-heading{gap:12px;margin-bottom:20px}.reference-profile .profile-bank-card-heading>span{display:grid;place-items:center;background:#e1dfff;color:#2545f7;border-radius:13px;padding:8px}.reference-profile .profile-bank-card-heading h3{font-size:18px;color:#101b4c}.reference-profile .profile-bank-card-heading small{font-size:11px;color:#5b6d9d}.reference-profile .profile-bank-card-heading .badge{font-size:10px;border-radius:20px}.reference-profile .profile-bank-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 15px;margin:0}.reference-profile .profile-bank-fields dt{font-size:12px;color:#54699e}.reference-profile .profile-bank-fields dd{font-size:14px;color:#111c4c;font-weight:650;overflow-wrap:anywhere}.reference-profile .profile-bank-fields .masked-account{font-size:16px;letter-spacing:1px;white-space:normal}.reference-profile .profile-bank-footer{margin-top:20px;padding-top:15px;border-top:1px solid #c8d7f7;gap:10px}.reference-profile .profile-bank-footer small{font-size:10px;color:#6175a0}.reference-profile .profile-bank-footer button{background:white;border-radius:20px;padding:10px 15px;color:#1248ff;font-size:12px;box-shadow:0 4px 10px #3565c920;white-space:nowrap}.reference-profile .profile-verification-note{border:0;background:none;padding:13px 0 0;gap:8px;color:#6b7b9e}.reference-profile .profile-verification-note p{font-size:10px;line-height:1.6}.reference-profile .profile-bank-empty{min-height:250px;background:linear-gradient(130deg,#f0f3ff,#e1efff);border:1px dashed #bfceff;border-radius:20px;padding:25px}.reference-profile .profile-bank-empty h3{font-size:18px}.reference-profile .profile-bank-empty p{font-size:12px;line-height:1.6}
.reference-profile-summaries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.reference-profile .reference-summary-card{position:relative;display:flex;align-items:center;gap:15px;text-align:left;min-width:0;padding:19px;border:3px solid white;border-radius:22px;background:linear-gradient(120deg,#f6fbff,#d9ecff);box-shadow:0 6px 15px #3754b71a;cursor:pointer}.reference-profile .reference-summary-card small{font-size:12px;color:#405b93}.reference-profile .reference-summary-card strong{display:block;font-size:25px;line-height:1.4;color:#111b4b;letter-spacing:-.5px;overflow-wrap:anywhere}.reference-profile .reference-summary-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;flex-shrink:0;background:#badfff;color:#005aff}.reference-profile .reference-summary-icon svg{width:30px;height:30px}.reference-profile .reference-tone-purple{background:linear-gradient(120deg,#fbf8ff,#e9ddff)}.reference-profile .reference-tone-purple .reference-summary-icon{color:#7b2ef0;background:#e1ccff}.reference-profile .reference-tone-green{background:linear-gradient(120deg,#f6fff9,#d9f8e9)}.reference-profile .reference-tone-green .reference-summary-icon{color:#00aa61;background:#bdf2d7}.reference-profile .reference-tone-orange{background:linear-gradient(120deg,#fffdfa,#ffeadb)}.reference-profile .reference-tone-orange .reference-summary-icon{color:#f58200;background:#ffdcaf}
@media(min-width:1001px){body[data-page=profile]{--sidebar-width:245px}body[data-page=profile] .topbar{height:64px;min-height:64px}body[data-page=profile] .sidebar{background:linear-gradient(160deg,#031238,#041a50 70%,#141650)}body[data-page=profile] .sidebar nav button.active{background:linear-gradient(110deg,#00c6ed,#1148ff 75%,#00b9e9);box-shadow:0 0 16px #0aaaff55}body[data-page=profile] .reference-sidebar-promo{position:relative;margin:110px 19px 16px;padding:65px 18px 18px;border:1px solid #41d7ff;border-radius:22px;background:linear-gradient(135deg,#133d85,#251760 65%,#7426ad);color:white;box-shadow:0 0 18px #5642ff33}body[data-page=profile] .reference-sidebar-promo h2{font-size:21px;line-height:1.2;color:white;margin:0 0 12px}body[data-page=profile] .reference-sidebar-promo p{font-size:12px;color:#e2eaff;line-height:1.5}body[data-page=profile] .reference-sidebar-promo .button{width:100%;background:#f5f0ff;color:#2043cc;border-radius:17px}body[data-page=profile] .reference-promo-art{position:absolute;top:-80px;left:7px;width:190px;height:140px;background:url('../images/fintech-reference/illustrations.png') right bottom/200% 200% no-repeat}}
@media(max-width:1250px){.reference-profile .profile-identity-hero{gap:16px;flex-wrap:wrap;margin-inline:8px}.reference-profile .profile-hero-copy{flex:1}.reference-profile .profile-portrait{width:106px;height:106px}.reference-profile .reference-profile-status{flex:1;justify-content:space-evenly}.reference-profile .reference-profile-status>div{min-width:90px}.reference-profile .profile-membership{min-width:110px}.reference-profile .profile-membership strong{font-size:15px}.reference-profile .profile-section-title{flex-wrap:wrap}.reference-profile .reference-summary-card{padding:15px;gap:10px}.reference-profile .reference-summary-card strong{font-size:22px}.reference-profile .reference-summary-icon{width:40px;height:40px}}
@media(max-width:760px){body[data-page=profile] main{padding:14px}.reference-profile .customer-reference-banner{min-height:140px;padding:23px 20px 50px}.reference-profile .reference-banner-copy{max-width:100%}.reference-profile .reference-banner-copy h1{font-size:31px}.reference-profile .reference-banner-copy p{font-size:12px}.reference-profile .reference-banner-art{opacity:.25;width:190px;height:160px}.reference-profile .profile-identity-hero{margin:-35px 0 0;padding:20px;gap:15px}.reference-profile .profile-hero-copy h2{font-size:23px}.reference-profile .profile-email{font-size:12px}.reference-profile .profile-portrait{width:83px;height:83px;font-size:31px}.reference-profile .profile-membership{border:0;padding-left:0;flex:1}.reference-profile .reference-profile-status{flex-basis:100%;gap:15px;justify-content:space-between;padding-top:12px;border-top:1px solid #b4bdff55}.reference-profile .reference-profile-status>div{min-width:0;flex:1}.reference-profile .profile-details-grid{grid-template-columns:minmax(0,1fr);gap:16px}.reference-profile .profile-info-panel,.reference-profile .profile-bank-panel{padding:18px}.reference-profile .profile-section-title h2{font-size:18px}.reference-profile .profile-section-title p{font-size:11px}.reference-profile .profile-section-icon{width:37px;height:37px}.reference-profile .profile-detail-list dt,.reference-profile .profile-detail-list dd{font-size:12px}.reference-profile .profile-bank-card{padding:16px}.reference-profile .profile-bank-card-heading h3{font-size:15px}.reference-profile .profile-bank-fields{gap:17px 10px}.reference-profile .profile-bank-fields dt{font-size:10px}.reference-profile .profile-bank-fields dd{font-size:12px}.reference-profile .profile-bank-fields .masked-account{font-size:13px;letter-spacing:.4px}.reference-profile-summaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.reference-profile .reference-summary-card{padding:13px;flex-wrap:wrap}.reference-profile .reference-summary-card strong{font-size:22px}.reference-profile .reference-summary-card small{font-size:11px}.reference-profile .profile-bank-footer{flex-wrap:wrap}}
/* Status badges must remain readable and reflect the recorded verification state. */
.reference-profile .profile-bank-card-heading>.badge{display:inline-flex;align-items:center;justify-content:center;min-width:90px;max-width:135px;width:auto;height:auto;padding:7px 10px;border-radius:18px;font-size:10px;line-height:1.4;white-space:normal;text-align:center;flex-shrink:0}.reference-profile .profile-bank-card-heading>.badge.amber{background:#fff0cc;color:#98700d;border:1px solid #f4e2ad}.reference-profile .profile-bank-card-heading>.badge.green{background:#ccf8e2;color:#00874b;border:1px solid #b9ebd1}.reference-profile .reference-email-unverified>div:first-child .badge{background:#57416c;color:#ffe1a0;border-color:#c4a475}
/* Keep the profile banner and identity card in separate rows; no negative-margin overlap. */
.reference-profile .profile-identity-hero{margin-top:0;margin-bottom:0}
.reference-profile .customer-reference-banner{padding-bottom:28px;min-height:170px}
.reference-profile .reference-banner-copy{max-width:calc(100% - 300px)}
@media(max-width:760px){.reference-profile .profile-identity-hero{margin:0;padding:20px}.reference-profile .customer-reference-banner{padding:23px 20px;min-height:145px}.reference-profile .reference-banner-copy{max-width:100%;padding-right:0}.reference-profile .reference-banner-art{opacity:.15}}
/* Flat SVG artwork on the three balance cards. */
body[data-page=wallet] .fintech-dashboard .fintech-card-art{background:none;filter:none;box-shadow:none;transform:none;display:grid;place-items:center;color:#07557b;opacity:.85}
body[data-page=wallet] .fintech-dashboard .fintech-art-earnings{color:#d8fff0}
body[data-page=wallet] .fintech-dashboard .fintech-card-art svg{width:72%;height:72%;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;filter:none;transform:none}
