/* RS Gold pilot. Operational forms and other reseller templates keep their styles. */
body:has(.rs-gold-dashboard){background:#031020}
.invite-shell.reseller-open:has(.rs-gold-dashboard){width:min(1680px,100%);padding:20px}
.invite-shell:has(.rs-gold-dashboard)>.invite-header,
.invite-shell:has(.rs-gold-dashboard)>h1,
.invite-shell:has(.rs-gold-dashboard)>p,
.invite-shell:has(.rs-gold-dashboard)>#invite-status{display:none}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard){display:block;min-height:790px;border:1px solid #526074;border-radius:24px;padding:12px 12px 12px 232px;background:#061426}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard)>.reseller-head{grid-column:2;grid-row:1;margin:0;padding:15px 24px;border:0;border-radius:20px 20px 0 0;box-shadow:none;background:#f3f5fa}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard)>.reseller-head .reseller-status{font-size:10px}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard)>.reseller-side-nav{position:absolute;left:12px;top:20px;width:208px;padding:6px 14px;background:transparent;box-shadow:none}
#invite-reseller.reseller-workspace[data-current-workspace="home"]:has(.rs-gold-dashboard)>.reseller-head{display:none}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .reseller-side-title{border:0;padding:0 4px 20px;display:flex;flex-direction:column}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .rsg-nav-logo{order:-1;display:block;width:100%;height:135px;object-fit:cover;margin:0 0 8px}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .reseller-side-title strong{font-size:12px;color:#e1bd77}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .reseller-side-title span{font-size:10px;color:#b8c1d0}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .reseller-side-link{display:flex;align-items:center;gap:11px;padding:12px!important;font-size:13px!important;min-height:45px}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .reseller-side-link span{display:flex}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .reseller-side-link svg{width:21px;height:21px;flex:none}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .reseller-side-link.active{background:linear-gradient(100deg,#f5cc6a,#bf8b1d)!important;color:#101c2c!important;border-color:#e6b741!important}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard)>#invite-reseller-next{margin:0;padding:0 24px 8px;background:#f3f5fa;color:#66748a;font-size:11px}
#invite-reseller.reseller-workspace:has(.rs-gold-dashboard)>#invite-reseller-logout{display:block;margin:12px 0 0 auto}
.reseller-workspace-home.rs-gold-dashboard{border:0!important;box-shadow:none!important;background:#f3f5fa!important;padding:0 20px 18px!important;border-radius:20px!important;overflow:hidden;color:#0b1730}
.rs-gold-dashboard svg{width:24px;height:24px;flex:none}
.rs-gold-dashboard .rsg-dashboard-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 4px 20px}
.rs-gold-dashboard .rsg-dashboard-top h3{font-size:24px;letter-spacing:-.7px;margin:0 0 4px;color:#090f23}
.rs-gold-dashboard .rsg-dashboard-top h3 span{font-size:20px}
.rs-gold-dashboard .rsg-dashboard-top p{font-size:12px;color:#48566b;margin:0}
.rs-gold-dashboard .rsg-account{display:flex;gap:10px;align-items:center;background:#fff9;border-radius:14px;padding:10px 18px;box-shadow:0 2px 2px #1c325a12;max-width:35%}
.rs-gold-dashboard .rsg-account div{display:grid;gap:2px;overflow-wrap:anywhere}
.rs-gold-dashboard .rsg-account small{color:#657086;font-size:11px}
.rs-gold-dashboard .rsg-hero-row{display:grid;grid-template-columns:1.7fr 1fr;gap:16px;margin-bottom:15px}
.rs-gold-dashboard .rsg-dashboard-hero{min-height:148px;display:flex;align-items:center;border-radius:13px;padding:22px 26px;background:#07101c url('/assets/rsgold-terminal-banner.png') center/cover no-repeat;overflow:hidden}
.rs-gold-dashboard .rsg-hero-content{max-width:69%;text-shadow:0 1px 6px #000}
.rs-gold-dashboard .rsg-hero-content h4{font-size:clamp(23px,2.1vw,34px);letter-spacing:-1px;color:#fff;margin:0 0 9px;line-height:1.1}
.rs-gold-dashboard .rsg-hero-content h4 span{color:#e4b34f}
.rs-gold-dashboard .rsg-hero-content p{color:#f3f5fc;font-size:13px;line-height:1.45;margin:0;max-width:310px}
.rs-gold-dashboard .rsg-dashboard-actions{border-radius:13px;padding:13px;background:linear-gradient(110deg,#f6e1b4,#e3b454);min-width:0}
.rs-gold-dashboard .rsg-section-label{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:800;letter-spacing:-.5px;color:#111827;margin-bottom:12px}
.rs-gold-dashboard .rsg-section-label svg{color:#d7a13c}
.rs-gold-dashboard .rsg-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.rs-gold-dashboard .rsg-action-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:78px;margin:0!important;padding:9px 5px!important;border:1px solid #fff7!important;border-radius:10px!important;background:#fff8e6!important;color:#101a2b!important;font-size:11px!important;line-height:1.15;box-shadow:0 3px 1px #73501214}
.rs-gold-dashboard button{transition:transform .15s ease,box-shadow .15s ease}
.rs-gold-dashboard button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 12px #09224220}
.rs-gold-dashboard button:focus-visible{outline:3px solid #1744b2;outline-offset:3px}
.rs-gold-dashboard button:disabled{opacity:.5;cursor:not-allowed}
.rs-gold-dashboard .rsg-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 15px}
.rs-gold-dashboard .rsg-kpi{display:flex;align-items:center;gap:13px;padding:14px 16px;border:1px solid #e9edf4;border-radius:13px;background:linear-gradient(110deg,#fff,#fafbff);box-shadow:0 2px 1px #15315622;min-width:0}
.rs-gold-dashboard .rsg-kpi-icon{display:flex;color:#d8a43f}
.rs-gold-dashboard .rsg-kpi-icon svg{width:32px;height:32px}
.rs-gold-dashboard .rsg-kpi-content{display:grid;gap:4px;min-width:0;flex:1}
.rs-gold-dashboard .rsg-kpi small{font-size:12px;text-transform:none;letter-spacing:0;color:#25324b}
.rs-gold-dashboard .rsg-kpi strong{font-size:clamp(14px,1.3vw,22px);letter-spacing:-.4px;color:#091638;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.rs-gold-dashboard .rsg-kpi span{font-size:10px;color:#718095}
.rs-gold-dashboard .rsg-kpi-meter{height:3px;overflow:hidden;border-radius:4px;background:#e9edf3}
.rs-gold-dashboard .rsg-kpi-meter i{display:block;height:100%;width:0;background:linear-gradient(90deg,#c28a18,#ffdb68)}
.rs-gold-dashboard .rsg-igniting strong{color:#b17e18}
.rs-gold-dashboard .rsg-dashboard-widgets{display:grid;grid-template-columns:1.35fr 1fr .95fr;gap:15px;margin-bottom:15px}
.rs-gold-dashboard .rsg-widget{min-width:0;padding:18px 16px;border:1px solid #e6eaf2;border-radius:15px;background:linear-gradient(120deg,#fff,#f9fbff);box-shadow:0 2px 1px #17325221}
.rs-gold-dashboard .rsg-empty-chart{display:grid;place-items:center;min-height:154px;padding:20px;text-align:center;font-size:12px;line-height:1.6;color:#64748b;background:repeating-linear-gradient(to bottom,transparent 0,transparent 36px,#e9edf3 37px)}
.rs-gold-dashboard .rsg-portfolio{display:flex;align-items:center;gap:15px;min-height:154px}
.rs-gold-dashboard .rsg-portfolio-ring{display:grid;place-items:center;border-radius:50%;width:115px;height:115px;flex:none}
.rs-gold-dashboard .rsg-portfolio-ring>div{display:grid;gap:2px;place-content:center;text-align:center;width:80px;height:80px;border-radius:50%;background:#fff}
.rs-gold-dashboard .rsg-portfolio-ring strong{font-size:26px;color:#0a1430}
.rs-gold-dashboard .rsg-portfolio-ring small{font-size:10px;color:#657086}
.rs-gold-dashboard .rsg-portfolio-legend{display:grid;gap:13px;width:100%}
.rs-gold-dashboard .rsg-portfolio-row{display:flex;justify-content:space-between;gap:8px;font-size:11px}
.rs-gold-dashboard .rsg-portfolio-row span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;background:#08b94e}
.rs-gold-dashboard .rsg-portfolio-row:nth-child(2) span:before{background:#f1b729}
.rs-gold-dashboard .rsg-portfolio-row:nth-child(3) span:before{background:#a9b5c6}
.rs-gold-dashboard .rsg-alerts{display:grid;gap:5px}
.rs-gold-dashboard .rsg-alert-row{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px;margin:0!important;padding:10px 0!important;background:transparent!important;color:#34435a!important;border-bottom:1px solid #e8edf3!important;border-radius:0!important;font-size:11px!important;text-align:left!important}
.rs-gold-dashboard .rsg-alert-row strong{border-radius:20px;background:#fff0c6;color:#7a5504;padding:4px 7px;white-space:nowrap}
.rs-gold-dashboard .rsg-dashboard-bottom{display:grid;grid-template-columns:1.3fr 1fr;gap:16px}
.rs-gold-dashboard .rsg-table-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.rs-gold-dashboard .rsg-table-head .rsg-section-label{margin:0}
.rs-gold-dashboard .rsg-table-head button,.rs-gold-dashboard .rsg-bottom-banner button{margin:0!important;width:auto;background:linear-gradient(110deg,#ffd970,#e2a817)!important;color:#122038!important;font-size:12px!important;padding:9px 13px!important;border-radius:9px!important;white-space:nowrap}
.rs-gold-dashboard .rsg-tables{overflow:auto;min-height:110px;color:#526079;font-size:12px}
.rs-gold-dashboard .rsg-tables table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
.rs-gold-dashboard .rsg-tables th{background:#edf0f5;padding:9px;color:#26334c}
.rs-gold-dashboard .rsg-tables td{padding:9px;border-bottom:1px solid #e7ebf2;color:#1e2c45}
.rs-gold-dashboard .rsg-bottom-banner{padding:24px;border-radius:14px;background:#07111d url('/assets/rsgold-terminal-banner.png') center/cover no-repeat;min-height:170px}
.rs-gold-dashboard .rsg-bottom-banner h4{max-width:65%;font-size:25px;letter-spacing:-.8px;line-height:1.1;color:#fff;margin:0 0 8px}
.rs-gold-dashboard .rsg-bottom-banner p{max-width:58%;font-size:12px;color:#edf1f8;line-height:1.5;margin-bottom:15px}
.rs-gold-dashboard .rsg-data-note{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:15px 2px 0;font-size:10px;line-height:1.5;color:#67768d}
@media(max-width:1250px){
 #invite-reseller.reseller-workspace:has(.rs-gold-dashboard){padding-left:202px}
 #invite-reseller.reseller-workspace:has(.rs-gold-dashboard)>.reseller-side-nav{width:178px}
 .rs-gold-dashboard .rsg-hero-row{grid-template-columns:1.3fr 1fr}
 .rs-gold-dashboard .rsg-dashboard-widgets{grid-template-columns:1fr 1fr}
 .rs-gold-dashboard .rsg-performance{grid-column:1/-1}
 .rs-gold-dashboard .rsg-portfolio-ring{width:105px;height:105px}
 .rs-gold-dashboard .rsg-kpi{padding:12px;gap:8px}
 .rs-gold-dashboard .rsg-kpi-icon svg{width:24px;height:24px}
}
@media(max-width:950px){
 .invite-shell.reseller-open:has(.rs-gold-dashboard){padding:8px}
 .rs-gold-dashboard .rsg-hero-row{grid-template-columns:1fr}
 .rs-gold-dashboard .rsg-kpi-grid{grid-template-columns:1fr 1fr}
 .rs-gold-dashboard .rsg-dashboard-bottom{grid-template-columns:1fr}
 .rs-gold-dashboard .rsg-account{max-width:45%}
 .rs-gold-dashboard .rsg-dashboard-top h3{font-size:20px}
 .rs-gold-dashboard .rsg-dashboard-top h3 span{display:block;font-size:16px;margin-top:3px}
}
@media(max-width:720px){
 #invite-reseller.reseller-workspace:has(.rs-gold-dashboard){display:block;min-height:0;padding:8px;border-radius:16px}
 #invite-reseller.reseller-workspace:has(.rs-gold-dashboard)>.reseller-side-nav{position:static;min-height:0;width:auto;padding:0 4px 12px}
 #invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .reseller-side-title{padding:4px 8px 10px;display:grid;grid-template-columns:100px 1fr;align-items:center;gap:4px 12px}
 #invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .rsg-nav-logo{grid-row:1/span 2;width:100px;height:65px;margin:0}
 #invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .reseller-side-nav nav{display:flex;overflow:auto;gap:6px;padding-bottom:6px}
 #invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .reseller-side-link{width:auto!important;flex:none;padding:9px!important;font-size:11px!important}
 #invite-reseller.reseller-workspace:has(.rs-gold-dashboard) .reseller-side-link svg{width:16px;height:16px}
 #invite-reseller.reseller-workspace:has(.rs-gold-dashboard)>.reseller-head{padding:12px;border-radius:14px 14px 0 0}
 #invite-reseller.reseller-workspace:has(.rs-gold-dashboard)>#invite-reseller-next{padding:0 12px 10px}
 .reseller-workspace-home.rs-gold-dashboard{padding:0 12px 14px!important}
 .rs-gold-dashboard .rsg-dashboard-top{gap:8px;padding:9px 0 16px}
 .rs-gold-dashboard .rsg-dashboard-top h3{font-size:20px}
 .rs-gold-dashboard .rsg-dashboard-top p{font-size:10px;max-width:190px}
 .rs-gold-dashboard .rsg-account{padding:8px;gap:6px;font-size:11px}
 .rs-gold-dashboard .rsg-account svg{width:18px;height:18px}
 .rs-gold-dashboard .rsg-dashboard-hero{padding:23px 15px;min-height:155px;background-position:60% center}
 .rs-gold-dashboard .rsg-hero-content{max-width:70%}
 .rs-gold-dashboard .rsg-hero-content h4{font-size:24px}
 .rs-gold-dashboard .rsg-hero-content p{font-size:11px}
 .rs-gold-dashboard .rsg-action-grid{gap:6px}
 .rs-gold-dashboard .rsg-action-grid button{font-size:10px!important;padding:8px 3px!important}
 .rs-gold-dashboard .rsg-kpi-grid{gap:10px}
 .rs-gold-dashboard .rsg-kpi{padding:12px 9px;gap:7px}
 .rs-gold-dashboard .rsg-kpi small{font-size:10px}
 .rs-gold-dashboard .rsg-kpi strong{font-size:16px}
 .rs-gold-dashboard .rsg-kpi-icon svg{width:22px;height:22px}
 .rs-gold-dashboard .rsg-dashboard-widgets{grid-template-columns:1fr}
 .rs-gold-dashboard .rsg-performance{grid-column:auto}
 .rs-gold-dashboard .rsg-portfolio{justify-content:center;gap:25px}
 .rs-gold-dashboard .rsg-portfolio-legend{max-width:180px}
 .rs-gold-dashboard .rsg-table-head button{font-size:10px!important;padding:7px!important}
 .rs-gold-dashboard .rsg-table-head .rsg-section-label{font-size:14px}
 .rs-gold-dashboard .rsg-tables table{font-size:10px}
 .rs-gold-dashboard .rsg-tables td,.rs-gold-dashboard .rsg-tables th{padding:8px 5px}
 .rs-gold-dashboard .rsg-bottom-banner{padding:20px}
 .rs-gold-dashboard .rsg-bottom-banner h4{font-size:24px}
}
@media(prefers-reduced-motion:reduce){.rs-gold-dashboard *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
