/* Grayxon Gana más — visual nativo del portal */
.gx-referral-hidden{display:none!important}
header.top .gx-referral-header-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 15px;border:1px solid #6f5b35;border-radius:12px;background:linear-gradient(135deg,#211b10,#121316);color:#e2c77e;font-size:12px;font-weight:800;letter-spacing:.02em;white-space:nowrap;box-shadow:inset 0 0 0 1px #c7a35b12;transition:transform .18s,border-color .18s,box-shadow .18s}
header.top .gx-referral-header-btn>span:first-child{font-size:17px;color:#f0d58b}
header.top .gx-referral-header-btn:hover,header.top .gx-referral-header-btn.is-active{border-color:#c7a35b;box-shadow:0 0 0 3px #c7a35b13,0 8px 22px #0004;transform:translateY(-1px)}
#gxReferralsPage{width:100%;min-height:calc(100svh - 100px)}
.gx-referrals-shell{max-width:1060px;margin:0 auto;display:grid;gap:16px;padding:2px 0 30px;color:#f3f4f6}
.gx-referrals-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.gx-ref-back{display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;color:#9ea5af;font-size:12px;font-weight:700;padding:8px 0}
.gx-ref-back:hover{color:#fff}
.gx-ref-eyebrow{font-size:9px;font-weight:900;letter-spacing:.17em;color:#9299a4}
.gx-ref-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr);min-height:280px;overflow:hidden;border:1px solid #2c3038;border-radius:22px;background:radial-gradient(circle at 87% 30%,#392d1740,transparent 29%),radial-gradient(circle at 94% 80%,#25f4ee12,transparent 28%),linear-gradient(135deg,#15171b 0%,#0d0f12 58%,#101115 100%);box-shadow:0 18px 48px #0005}
.gx-ref-hero:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#0e1013 0%,#0e1013 45%,#0e101388 70%,transparent 100%)}
.gx-ref-hero-copy{padding:34px 0 30px 34px;position:relative;z-index:2}
.gx-ref-kicker{display:inline-flex;align-items:center;gap:8px;color:#e2c77e;font-size:9px;font-weight:900;letter-spacing:.16em}
.gx-ref-kicker i{width:7px;height:7px;border-radius:50%;background:#25f4ee;box-shadow:0 0 12px #25f4ee88}
.gx-ref-hero h1{font-size:clamp(42px,5vw,62px);line-height:.98;letter-spacing:-.05em;margin:18px 0 12px;font-weight:850}
.gx-ref-hero h1 span{color:#e2c77e}
.gx-ref-hero-copy>p{max-width:510px;margin:0;color:#b1b7c1;font-size:13px;line-height:1.7}
.gx-ref-hero-note{display:flex;gap:12px;align-items:flex-start;max-width:510px;margin-top:20px;padding:13px 14px;border:1px solid #51452d;border-left:2px solid #c7a35b;border-radius:0 12px 12px 0;background:#15130fbb}
.gx-ref-hero-note>span{font-size:19px;color:#e2c77e}
.gx-ref-hero-note strong{display:block;font-size:11px;line-height:1.5;color:#f2e8c9}
.gx-ref-hero-note small{display:block;margin-top:4px;color:#999da5;font-size:10px;line-height:1.55}
.gx-ref-hero-art{position:relative;min-height:250px;overflow:hidden}
.gx-ref-orbit{position:absolute;border:1px solid #c7a35b2a;border-radius:50%;aspect-ratio:1}
.gx-ref-orbit-one{width:290px;right:-20px;top:-12px;box-shadow:inset 0 0 35px #c7a35b08,0 0 45px #c7a35b09}
.gx-ref-orbit-two{width:215px;right:18px;top:28px;border-color:#25f4ee30}
.gx-ref-coin{position:absolute;top:50%;right:70px;transform:translateY(-55%) rotate(-9deg);width:122px;height:122px;display:grid;place-items:center;border:1px solid #e4c77d;border-radius:50%;background:radial-gradient(circle at 35% 25%,#564629,#211b10 56%,#101115);box-shadow:inset 0 0 0 6px #c7a35b12,inset 0 0 0 8px #c7a35b20,0 15px 45px #0008;color:#f3d991;font-size:48px;font-weight:900;text-shadow:0 2px 15px #c7a35b30}
.gx-ref-coin span{position:absolute;right:17px;top:20px;font-size:20px;color:#25f4ee}
.gx-ref-art-tag{position:absolute;bottom:25px;right:22px;padding:7px 10px;border:1px solid #35302a;border-radius:999px;background:#080a0cba;color:#a7aab1;font-size:8px;letter-spacing:.14em;font-weight:800}
.gx-ref-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.gx-ref-stats article{display:flex;align-items:center;gap:12px;min-width:0;padding:15px;border:1px solid #292d34;border-radius:15px;background:linear-gradient(145deg,#121417,#0c0e10)}
.gx-ref-stat-icon{flex:0 0 37px;width:37px;height:37px;display:grid;place-items:center;border:1px solid #4b3e2b;border-radius:12px;background:#211b10;color:#e2c77e;font-size:17px}
.gx-ref-stats article:nth-child(2) .gx-ref-stat-icon{border-color:#27575a;background:#102022;color:#68ded7}
.gx-ref-stats article:nth-child(3) .gx-ref-stat-icon{border-color:#484b55;background:#1a1c22;color:#bfc5cf}
.gx-ref-stats article:nth-child(4) .gx-ref-stat-icon{border-color:#59405b;background:#201621;color:#e2b6e9}
.gx-ref-stats article div{display:grid;gap:5px;min-width:0}
.gx-ref-stats small{font-size:10px;color:#8f96a1;line-height:1.3}
.gx-ref-stats strong{font-size:20px;font-weight:850;letter-spacing:-.03em;overflow-wrap:anywhere}
.gx-ref-main-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gx-ref-panel{min-width:0;padding:20px;border:1px solid #2b3037;border-radius:18px;background:linear-gradient(145deg,#111317,#0b0d0f);box-shadow:0 10px 28px #0002}
.gx-ref-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.gx-ref-section-head h2{font-size:20px;letter-spacing:-.025em;margin:5px 0 0}
.gx-ref-panel-icon{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #393c43;border-radius:12px;background:#191b20;color:#e2c77e;font-size:19px}
.gx-ref-share>p{font-size:12px;line-height:1.65;color:#9da4ae;margin:0 0 16px}
.gx-ref-code-box{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid #554627;border-radius:13px;background:linear-gradient(135deg,#1a160f,#101114)}
.gx-ref-code-box>div{display:grid;gap:5px;min-width:0}
.gx-ref-code-box small{color:#aaa08a;font-size:9px;letter-spacing:.1em;text-transform:uppercase}
.gx-ref-code-box strong{color:#f0d58b;font-size:21px;letter-spacing:.07em;overflow-wrap:anywhere}
.gx-ref-code-box button{border:1px solid #806b3d;border-radius:9px;padding:9px 12px;background:#2a2111;color:#f0d58b;font-size:11px;font-weight:850}
.gx-ref-share-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:10px;padding:12px;border:1px solid #296347;border-radius:11px;background:linear-gradient(135deg,#123020,#0e2118);color:#9af0b7;font-size:12px;font-weight:800}
.gx-ref-share-btn:hover{border-color:#4fbd7d;filter:brightness(1.08)}
.gx-ref-hint{margin-top:13px;color:#7f8792;font-size:10px;line-height:1.55}
.gx-ref-register form{display:grid;gap:8px}
.gx-ref-register label,.gx-ref-admin-form label{margin-top:5px;color:#cdd1d8;font-size:11px;font-weight:750}
.gx-ref-register label span{color:#fe7d9a}
.gx-ref-register input,.gx-ref-admin-form input,.gx-ref-admin-form select{width:100%;min-width:0;height:43px;padding:0 12px;border:1px solid #303640;border-radius:10px;background:#080a0c;color:#f2f4f7;outline:none;font-size:13px}
.gx-ref-register input:focus,.gx-ref-admin-form input:focus,.gx-ref-admin-form select:focus{border-color:#b69a5a;box-shadow:0 0 0 3px #c7a35b14}
.gx-ref-input-wrap{position:relative}
.gx-ref-input-wrap>span{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#e2c77e;font-weight:800}
.gx-ref-input-wrap input{padding-left:32px}
.gx-ref-form-note{margin:3px 0 5px;color:#7f8792;font-size:10px;line-height:1.55}
.gx-ref-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:45px;padding:0 15px;border:1px solid #76613b;border-radius:11px;background:linear-gradient(110deg,#d6b768,#a98743);color:#17130b;font-size:12px;font-weight:900;box-shadow:0 8px 20px #c7a35b15}
.gx-ref-submit:hover{filter:brightness(1.05);transform:translateY(-1px)}
.gx-ref-submit:disabled{opacity:.6;cursor:wait;transform:none}
.gx-ref-form-message{min-height:15px;color:#ff9aaa;font-size:11px;line-height:1.45}
.gx-ref-list-panel{padding:19px}
.gx-ref-refresh{border:1px solid #343941;border-radius:9px;background:#17191d;color:#c7ccd4;padding:8px 10px;font-size:11px;font-weight:800}
.gx-ref-list,.gx-ref-commission-list{display:grid;gap:8px}
.gx-referral-row,.gx-commission-row{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;border:1px solid #272c33;border-radius:12px;background:#0d0f12}
.gx-referral-avatar{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border:1px solid #3c3f47;border-radius:11px;background:#191b20;color:#e2c77e;font-size:19px}
.gx-referral-row-main{display:grid;gap:4px;min-width:0;flex:1}
.gx-referral-row-main strong,.gx-commission-row strong{font-size:12px;overflow-wrap:anywhere}
.gx-referral-row-main>span,.gx-commission-row>div:first-child>span{font-size:10px;color:#7f8792;line-height:1.45}
.gx-ref-status{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:6px 8px;border:1px solid #3b3f47;border-radius:999px;background:#1a1c20;color:#b7bec8;font-size:9px;font-weight:850}
.gx-ref-status.approved{border-color:#285943;background:#10251a;color:#83e1a5}
.gx-ref-status.pending{border-color:#66512e;background:#241d10;color:#e5c77c}
.gx-ref-status.rejected{border-color:#60303c;background:#241216;color:#ff9aaa}
.gx-ref-status.paid{border-color:#285943;background:#10251a;color:#83e1a5}
.gx-ref-admin-actions{display:flex;gap:5px;flex-wrap:wrap}
.gx-ref-admin-actions button{border:1px solid #343941;border-radius:8px;background:#181b20;color:#d9dde4;padding:7px 9px;font-size:10px;font-weight:750}
.gx-ref-admin-actions button[data-ref-action="approve"]{border-color:#285943;background:#10251a;color:#83e1a5}
.gx-ref-admin-actions button[data-ref-action="reject"]{border-color:#60303c;background:#241216;color:#ff9aaa}
.gx-commission-row{justify-content:space-between}
.gx-commission-row>div:first-child{display:grid;gap:5px;min-width:0}
.gx-commission-value{display:grid;justify-items:end;gap:6px;flex-shrink:0}
.gx-commission-value>strong{color:#e2c77e;font-size:15px}
.gx-ref-period-label{padding:7px 9px;border:1px solid #51452d;border-radius:999px;background:#1b170f;color:#d8bd78;font-size:9px;font-weight:800;white-space:nowrap}
.gx-ref-footnote{margin:12px 2px 0;color:#737b86;font-size:10px;line-height:1.55}
.gx-ref-empty{text-align:center;padding:32px 18px;border:1px dashed #2d323a;border-radius:13px;background:#0c0e11}
.gx-ref-empty>span{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 10px;border:1px solid #51452d;border-radius:13px;background:#1b170f;color:#e2c77e;font-size:22px}
.gx-ref-empty strong{display:block;font-size:12px}
.gx-ref-empty p{max-width:370px;margin:7px auto 0;color:#7f8792;font-size:10px;line-height:1.6}
.gx-ref-empty-compact{padding:24px 16px}
.gx-ref-rules{display:flex;gap:12px;align-items:flex-start;padding:17px 18px;border:1px solid #2a3037;border-radius:15px;background:#0d1013}
.gx-ref-rules-icon{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border:1px solid #51452d;border-radius:50%;color:#e2c77e;font-weight:900}
.gx-ref-rules strong{font-size:12px}
.gx-ref-rules p{margin:6px 0 0;color:#9aa1ab;font-size:11px;line-height:1.7}
.gx-ref-admin-form{display:grid;gap:9px}
.gx-ref-admin-fields{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:10px}
.gx-ref-calculated{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid #51452d;border-radius:11px;background:#17140e;color:#aaa08a;font-size:11px}
.gx-ref-calculated strong{font-size:18px;color:#e2c77e}
.gx-ref-loading{min-height:50vh;display:grid;align-content:center;justify-items:center;color:#8f96a1}
.gx-ref-spinner{width:30px;height:30px;border:2px solid #343941;border-top-color:#e2c77e;border-radius:50%;animation:gx-ref-spin .8s linear infinite}
@keyframes gx-ref-spin{to{transform:rotate(360deg)}}
@media(max-width:800px){
 header.top .gx-referral-header-btn{padding:0 11px;font-size:11px;min-height:38px}
 .gx-referrals-shell{gap:11px;padding-top:0}
 .gx-ref-hero{grid-template-columns:minmax(0,1fr);min-height:0;border-radius:18px}
 .gx-ref-hero:after{background:linear-gradient(90deg,#0e1013 0%,#0e1013dd 70%,#0e101399 100%)}
 .gx-ref-hero-copy{padding:25px 20px 21px}
 .gx-ref-hero h1{font-size:43px;margin:14px 0 10px}
 .gx-ref-hero-copy>p{font-size:12px;max-width:470px}
 .gx-ref-hero-note{margin-top:15px;padding:11px 12px}
 .gx-ref-hero-art{position:absolute;right:-84px;top:6px;width:230px;height:230px;min-height:0;opacity:.34;pointer-events:none}
 .gx-ref-orbit-one{width:225px;right:-8px;top:-15px}.gx-ref-orbit-two{width:165px;right:20px;top:16px}
 .gx-ref-coin{width:88px;height:88px;right:58px;font-size:35px}.gx-ref-coin span{right:10px;top:13px;font-size:15px}
 .gx-ref-art-tag{display:none}
 .gx-ref-stats{grid-template-columns:1fr 1fr;gap:8px}
 .gx-ref-stats article{padding:12px;gap:9px;border-radius:13px}
 .gx-ref-stat-icon{flex-basis:32px;width:32px;height:32px}
 .gx-ref-stats small{font-size:9px}.gx-ref-stats strong{font-size:18px}
 .gx-ref-main-grid{grid-template-columns:1fr;gap:10px}
 .gx-ref-panel{padding:15px;border-radius:15px}
 .gx-ref-section-head h2{font-size:18px}
 .gx-ref-code-box{padding:12px}.gx-ref-code-box strong{font-size:18px}
 .gx-referral-row{flex-wrap:wrap;gap:9px;padding:11px}
 .gx-referral-row-main{flex-basis:calc(100% - 54px)}
 .gx-referral-row>.gx-ref-status{margin-left:45px}
 .gx-ref-admin-actions{width:100%;margin-left:45px}
 .gx-ref-admin-actions button{flex:1}
 .gx-commission-row{align-items:flex-start;gap:8px}
 .gx-commission-value>strong{font-size:13px}
 .gx-ref-admin-fields{grid-template-columns:1fr}
 .gx-ref-rules{padding:14px}
}
@media(max-width:380px){header.top .gx-referral-header-btn{gap:5px;padding:0 8px;font-size:10px}.gx-ref-stats article{padding:10px 8px}.gx-ref-stats small{font-size:8px}.gx-ref-stats strong{font-size:16px}.gx-ref-hero-copy{padding-left:16px;padding-right:16px}}

.gx-ref-commission-status{margin-top:2px;padding:6px 8px;border:1px solid #51452d;border-radius:8px;background:#211b10;color:#e2c77e;font-size:9px;font-weight:850;white-space:nowrap}
.gx-ref-commission-status:hover{border-color:#c7a35b;background:#2b2314}
@media(max-width:800px){.gx-commission-value{max-width:48%;}.gx-ref-commission-status{font-size:8px;padding:6px 7px;white-space:normal}}


/* Gana más v2: tarjetas de navegación, requisitos, detalle y personalización del hero */
.gx-ref-stats>button{appearance:none;-webkit-appearance:none;display:flex;align-items:center;gap:12px;min-width:0;width:100%;padding:15px;border:1px solid #292d34;border-radius:15px;background:linear-gradient(145deg,#121417,#0c0e10);color:#f3f4f6;text-align:left;cursor:pointer;transition:border-color .18s,transform .18s,background .18s; font:inherit}
.gx-ref-stats>button:hover,.gx-ref-stats>button:focus-visible{border-color:#a88b4b;background:linear-gradient(145deg,#191710,#0d0f12);transform:translateY(-2px);outline:none}
.gx-ref-stats>button>div{display:grid;gap:5px;min-width:0}
.gx-ref-stat-link{font-size:9px;color:#d7bd7b;opacity:.8}
.gx-ref-stats>button:hover .gx-ref-stat-link{opacity:1}
.gx-ref-requirements-btn{display:inline-flex;align-items:center;gap:11px;margin-top:18px;padding:11px 14px;border:1px solid #7d673b;border-radius:10px;background:linear-gradient(135deg,#211b10,#111216);color:#ecd18b;font-size:11px;font-weight:850;cursor:pointer}
.gx-ref-requirements-btn span{font-size:15px;color:#25f4ee}
.gx-ref-requirements-btn:hover{border-color:#d1b56d;transform:translateY(-1px)}
.gx-ref-hero-settings{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 15px;border:1px dashed #55482f;border-radius:13px;background:#11110f}
.gx-ref-hero-settings>div{display:grid;gap:4px;flex:1;min-width:220px}
.gx-ref-hero-settings strong{font-size:11px;color:#e8d6a3}
.gx-ref-hero-settings small,.gx-ref-hero-settings>span{font-size:10px;line-height:1.5;color:#9299a4}
.gx-ref-hero-settings input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.gx-ref-upload-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border:1px solid #66532f;border-radius:9px;background:#211b10;color:#e8d08b;font-size:10px;font-weight:850;cursor:pointer}
.gx-ref-upload-btn:hover{border-color:#c7a35b}
.gx-ref-modal{position:fixed;inset:0;z-index:25000;display:grid;place-items:center;padding:20px;box-sizing:border-box}
.gx-ref-modal.hidden{display:none!important}
.gx-ref-modal-backdrop{position:absolute;inset:0;background:rgba(2,3,5,.78);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.gx-ref-modal-card{position:relative;z-index:1;width:min(650px,100%);max-height:min(82svh,780px);overflow:auto;padding:26px;border:1px solid #3b3b37;border-radius:19px;background:linear-gradient(145deg,#151619,#090b0d);box-shadow:0 24px 90px #000b}
.gx-ref-modal-card h2{margin:8px 42px 16px 0;font-size:24px;letter-spacing:-.035em}
.gx-ref-modal-close{position:absolute;top:16px;right:16px;width:36px;height:36px;display:grid;place-items:center;border:1px solid #3b3e44;border-radius:11px;background:#1a1c20;color:#f3f4f6;font-size:25px;line-height:1;cursor:pointer}
.gx-ref-modal-close:hover{border-color:#c7a35b;color:#e2c77e}
.gx-ref-detail-intro{margin-bottom:15px;color:#a9b0bb;font-size:12px;line-height:1.6}
.gx-ref-requirements-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.gx-ref-requirements-list li{display:flex;gap:12px;padding:13px;border:1px solid #292d34;border-radius:12px;background:#0e1013}
.gx-ref-requirements-list li>span{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border:1px solid #51452d;border-radius:10px;background:#1b170f;color:#e2c77e;font-size:10px;font-weight:900}
.gx-ref-requirements-list strong{font-size:12px}
.gx-ref-requirements-list p{margin:5px 0 0;color:#9299a4;font-size:11px;line-height:1.6}
.gx-ref-detail-note{margin:14px 0 0;padding:12px;border-left:2px solid #c7a35b;background:#17140e;color:#b5a983;font-size:10px;line-height:1.6}
.gx-ref-detail-list{display:grid;gap:8px}
.gx-ref-detail-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #292d34;border-radius:11px;background:#0e1013}
.gx-ref-detail-list article>div{display:grid;gap:5px;min-width:0}
.gx-ref-detail-list article strong{font-size:12px;overflow-wrap:anywhere}
.gx-ref-detail-list article small{font-size:10px;color:#858d98;line-height:1.5}
.gx-ref-detail-amount{color:#e2c77e!important;white-space:nowrap}
body.gx-ref-modal-open{overflow:hidden}
@media(max-width:800px){
 .gx-ref-stats>button{padding:12px;gap:9px;border-radius:13px}
 .gx-ref-stats>button .gx-ref-stat-icon{flex-basis:32px;width:32px;height:32px}
 .gx-ref-modal{padding:12px;align-items:end}
 .gx-ref-modal-card{max-height:86svh;padding:21px 16px;border-radius:18px 18px 12px 12px}
 .gx-ref-modal-card h2{font-size:21px}
 .gx-ref-hero-settings>div{min-width:100%}
}


/* Gana más: vista dedicada, sin superposición del inicio ni navegación inferior */
body.gx-referrals-mode main.wrap > .page:not(#gxReferralsPage){display:none!important}
body.gx-referrals-mode main.wrap > #gxReferralsPage{display:block!important;width:100%;min-height:calc(100svh - 88px)}
body.gx-referrals-mode main.wrap{display:block!important}
.gx-ref-share>p{max-width:680px}
.gx-ref-main-grid{grid-template-columns:minmax(0,1fr)}
.gx-ref-share{max-width:none}
@media(min-width:900px){
 body.gx-referrals-mode .gx-referrals-shell{max-width:1060px}
 .gx-ref-main-grid{grid-template-columns:minmax(0,1fr)}
}


/* Ajustes de navegación y composición de Gana más */
body.gx-referrals-mode main.wrap > #gxReferralsPage{padding-top:0!important;padding-bottom:calc(112px + env(safe-area-inset-bottom))!important}
body.gx-referrals-mode .gx-referrals-shell{padding-top:0!important;margin-top:0!important}
.gx-ref-requirements-btn{align-self:center;margin-left:auto!important;margin-right:auto!important}
.gx-ref-hero-copy{display:flex;flex-direction:column;align-items:stretch}
.gx-ref-hero-copy>.gx-ref-requirements-btn{align-self:center}
body.gx-referrals-mode #grayxonBottomNav{z-index:10000}
@media(max-width:800px){
 body.gx-referrals-mode main.wrap > #gxReferralsPage{padding-bottom:calc(120px + env(safe-area-inset-bottom))!important}
 .gx-ref-requirements-btn{margin-top:18px}
}


/* Centro administrativo de Programas para ganar más */
.gx-admin-center{width:100%;max-width:1180px;margin:0 auto;padding:0 0 20px;display:flex;flex-direction:column;gap:18px;color:#f4f5f7}
.gx-admin-center-hero{padding:26px;border:1px solid #292d34;border-radius:18px;background:linear-gradient(120deg,#101114,#17141d);display:flex;flex-direction:column;gap:8px}
.gx-admin-center-hero h1{margin:0;font-size:clamp(25px,3vw,34px);letter-spacing:-.04em}
.gx-admin-center-hero p{margin:0;color:#a7b0bf;font-size:13px;line-height:1.6}
.gx-admin-tabs{display:flex;gap:7px;flex-wrap:wrap;padding:6px;border:1px solid #292d34;border-radius:14px;background:#0c0e11}
.gx-admin-tab{appearance:none;border:1px solid transparent;border-radius:10px;padding:10px 15px;background:transparent;color:#a7b0bf;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.gx-admin-tab.active{border-color:#66552f;background:#211b10;color:#e8cf87}
.gx-admin-tab-content{display:flex;flex-direction:column;gap:16px;min-width:0}
.gx-admin-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gx-admin-kpis article{display:flex;flex-direction:column;gap:9px;padding:17px;border:1px solid #292d34;border-radius:14px;background:linear-gradient(145deg,#111316,#0b0d0f);min-width:0}
.gx-admin-kpis small{font-size:11px;color:#9da7b6}
.gx-admin-kpis strong{font-size:25px;color:#f5d986;overflow-wrap:anywhere}
.gx-admin-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gx-admin-quick-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:132px;padding:17px;border:1px solid #292d34;border-radius:15px;background:#0e1013;color:#f3f4f6;text-align:left;cursor:pointer;font:inherit}
.gx-admin-quick-grid button:hover{border-color:#a88b4b;background:#15140f}
.gx-admin-quick-grid button>span{color:#e5c977;font-size:22px}
.gx-admin-quick-grid button strong{font-size:13px}
.gx-admin-quick-grid button small{font-size:11px;line-height:1.5;color:#98a1b0}
.gx-admin-block{display:flex;flex-direction:column;gap:15px;padding:20px;border:1px solid #292d34;border-radius:16px;background:linear-gradient(145deg,#101215,#0b0d0f);min-width:0}
.gx-admin-block-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.gx-admin-block-head h3{margin:5px 0 0;font-size:19px;letter-spacing:-.025em}
.gx-admin-block-head p{margin:7px 0 0;color:#98a1b0;font-size:12px;line-height:1.5}
.gx-admin-text-btn{border:1px solid #51452d;border-radius:9px;background:#19150e;color:#e3c979;padding:9px 12px;font-size:11px;font-weight:800;cursor:pointer}
.gx-admin-form{display:flex;flex-direction:column;gap:12px}
.gx-admin-form label{display:block;margin-bottom:6px;color:#b8c0cd;font-size:11px;font-weight:750}
.gx-admin-form input,.gx-admin-form select,.gx-admin-form textarea,.gx-admin-filter select{box-sizing:border-box;width:100%;min-width:0;border:1px solid #303640;border-radius:10px;background:#090b0e;color:#f3f4f6;padding:11px 12px;font:inherit;font-size:12px}
.gx-admin-form textarea{resize:vertical;line-height:1.6}
.gx-admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.gx-admin-form-grid>div{min-width:0}
.gx-admin-form-actions{display:flex;gap:10px;flex-wrap:wrap}
.gx-admin-secondary-btn{border:1px solid #343941;border-radius:10px;background:#191b20;color:#e0e4eb;padding:11px 15px;font-size:12px;font-weight:800;cursor:pointer}
.gx-admin-list{display:flex;flex-direction:column;gap:9px}
.gx-admin-list-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border:1px solid #282c33;border-radius:12px;background:#0c0e11;min-width:0}
.gx-admin-list-main{display:flex;flex-direction:column;gap:5px;min-width:0}
.gx-admin-list-main strong{font-size:13px;overflow-wrap:anywhere}
.gx-admin-list-main small,.gx-admin-list-main p{margin:0;color:#98a1b0;font-size:11px;line-height:1.5}
.gx-admin-list-actions{display:flex;gap:7px;flex-wrap:wrap;flex-shrink:0}
.gx-admin-list-actions button{border:1px solid #3a3f47;border-radius:8px;background:#181b20;color:#e7eaf0;padding:8px 10px;font-size:10px;font-weight:800;cursor:pointer}
.gx-admin-list-actions button:hover{border-color:#a88b4b}
.gx-admin-empty{padding:24px;border:1px dashed #30343b;border-radius:12px;text-align:center}
.gx-admin-empty strong{font-size:13px}
.gx-admin-empty p{margin:7px 0 0;color:#98a1b0;font-size:11px;line-height:1.5}
.gx-admin-filter{display:flex;align-items:center;gap:8px}
.gx-admin-filter label{font-size:11px;color:#a7b0bf}
.gx-admin-filter select{width:auto}
.gx-admin-calculated{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;border:1px solid #55472d;border-radius:11px;background:#17140e}
.gx-admin-calculated span{font-size:11px;color:#c2b48b}
.gx-admin-calculated strong{font-size:19px;color:#f0d486}
.gx-admin-center .gx-ref-submit{width:100%}
/* Dejar que el menú global conserve sus reglas originales dentro de esta vista */
body.gx-referrals-mode #grayxonBottomNav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:center!important}
body.gx-referrals-mode #grayxonBottomNav button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-height:56px!important;padding:5px 2px!important}
body.gx-referrals-mode #grayxonBottomNav button .gx-nav-icon{display:block!important;line-height:1!important}
@media(max-width:760px){
 .gx-admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gx-admin-quick-grid{grid-template-columns:1fr}
 .gx-admin-form-grid{grid-template-columns:1fr}
 .gx-admin-block{padding:15px}
 .gx-admin-list-row{align-items:flex-start;flex-direction:column}
 .gx-admin-list-actions{width:100%}
 .gx-admin-list-actions button{flex:1}
 .gx-admin-filter{width:100%;align-items:flex-start;flex-direction:column}
 .gx-admin-filter select{width:100%}
 .gx-admin-center-hero{padding:20px}
}


/* Catálogo de programas publicados para participantes */
.gx-ref-program-catalog{display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid #292d34;border-radius:16px;background:linear-gradient(145deg,#101215,#0b0d0f)}
.gx-ref-program-catalog .gx-ref-section-head{margin:0}
.gx-ref-program-catalog .gx-ref-section-head p{margin:7px 0 0;color:#98a1b0;font-size:12px;line-height:1.55}
.gx-ref-program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gx-ref-program-card{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;min-height:150px;padding:16px;border:1px solid #30343b;border-radius:13px;background:#0b0d10;color:#f4f5f7;text-align:left;cursor:pointer;font:inherit;transition:border-color .18s,transform .18s,background .18s}
.gx-ref-program-card:hover{border-color:#8e7541;background:#15130f;transform:translateY(-2px)}
.gx-ref-program-type{display:inline-flex;align-items:center;padding:5px 7px;border:1px solid #59482a;border-radius:6px;background:#211a0e;color:#e6c97c;font-size:8px;font-weight:900;letter-spacing:.1em}
.gx-ref-program-card>strong{font-size:14px;line-height:1.35}
.gx-ref-program-card p{margin:0;color:#9ca5b3;font-size:11px;line-height:1.55}
.gx-ref-program-cta{margin-top:auto;color:#e6c97c;font-size:10px;font-weight:850}
.gx-ref-program-detail-kpi{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #51442b;border-radius:11px;background:#17140e}
.gx-ref-program-detail-kpi small{color:#b8ad90;font-size:10px}
.gx-ref-program-detail-kpi strong{color:#f0d486;font-size:14px}
.gx-ref-program-detail-heading{margin:18px 0 8px;font-size:13px}
.gx-ref-program-requirements{color:#aab2bf;font-size:12px;line-height:1.75;white-space:pre-wrap}
@media(max-width:800px){.gx-ref-program-grid{grid-template-columns:1fr}.gx-ref-program-card{min-height:0}}


/* Simplificación: resumen general y administración dentro de cada programa */
.gx-admin-programs-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:4px 0 0}
.gx-admin-programs-header h2{font-size:22px;margin:5px 0 0;letter-spacing:-.03em}
.gx-admin-programs-header p{font-size:12px;color:#98a1b0;margin:7px 0 0;line-height:1.55}
.gx-admin-create-btn{width:auto!important;min-width:150px}
.gx-admin-program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.gx-admin-program-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;min-height:215px;padding:17px;border:1px solid #2c3037;border-radius:15px;background:linear-gradient(145deg,#121417,#0b0d10);color:#f4f5f7;text-align:left;font:inherit;cursor:pointer;transition:border-color .18s,transform .18s,background .18s}
.gx-admin-program-card:hover{border-color:#8b7445;background:linear-gradient(145deg,#191710,#0d0f12);transform:translateY(-2px)}
.gx-admin-program-card-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}
.gx-admin-program-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid #59482a;border-radius:11px;background:#211a0e;color:#e6c97c;font-size:18px}
.gx-admin-status{display:inline-flex;align-items:center;border:1px solid #3b4048;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:850;white-space:nowrap;color:#b7bfcb;background:#181b20}
.gx-admin-status.active{border-color:#285d43;background:#10271b;color:#83d7a2}
.gx-admin-status.paused{border-color:#66532c;background:#241d0e;color:#e4c578}
.gx-admin-status.archived,.gx-admin-status.rejected{color:#a5aab3}
.gx-admin-status.draft{border-color:#41434a;color:#c2c6ce}
.gx-admin-program-card>strong{font-size:15px;line-height:1.3}
.gx-admin-program-card>small{color:#e0c477;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.gx-admin-program-card>p{margin:0;color:#9ba4b2;font-size:11px;line-height:1.55}
.gx-admin-program-card-stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;color:#c0c6d0;font-size:10px}
.gx-admin-program-card-stats span{border:1px solid #2e3239;border-radius:7px;padding:6px 8px;background:#0a0c0f}
.gx-admin-program-card-cta{font-size:11px;font-weight:850;color:#e5c779}
.gx-admin-detail-heading{display:flex;flex-direction:column;gap:15px;padding:18px;border:1px solid #2b3037;border-radius:15px;background:linear-gradient(120deg,#111316,#17141d)}
.gx-admin-back-btn{align-self:flex-start;border:1px solid #343941;border-radius:9px;background:#181b20;color:#d9dee7;padding:9px 12px;font-size:11px;font-weight:800;cursor:pointer}
.gx-admin-detail-heading h2{margin:5px 0;font-size:25px;letter-spacing:-.03em}
.gx-admin-detail-heading p{margin:0;color:#a0a8b5;font-size:11px}
.gx-admin-program-conditions{margin-top:12px;padding:13px;border:1px solid #292e35;border-radius:10px;background:#0b0d10;color:#aab2bf;font-size:12px;line-height:1.7;white-space:pre-wrap}
.gx-admin-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid #39272a}
.gx-admin-danger-zone strong{font-size:12px;color:#f0b2b2}
.gx-admin-danger-zone p{font-size:11px;line-height:1.5;color:#929aa7;margin:5px 0 0;max-width:520px}
.gx-admin-danger-btn{border:1px solid #713d43;border-radius:9px;background:#281417;color:#ffb4b4;padding:10px 13px;font-size:11px;font-weight:850;cursor:pointer}
@media(max-width:850px){.gx-admin-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.gx-admin-program-grid{grid-template-columns:1fr}.gx-admin-program-card{min-height:0}.gx-admin-programs-header{align-items:stretch;flex-direction:column}.gx-admin-create-btn{width:100%!important}.gx-admin-danger-zone{align-items:stretch;flex-direction:column}.gx-admin-danger-btn{width:100%}}


/* Edición de programas: portada, contenido multimedia y recompensa por persona */
.gx-admin-media-editor{display:flex;flex-direction:column;align-items:stretch;gap:11px;margin:20px 0 0;padding:17px;border:1px solid #2b3037;border-radius:13px;background:linear-gradient(145deg,#111316,#0b0d10)}
.gx-admin-media-editor h4{font-size:14px;margin:5px 0}
.gx-admin-media-editor p,.gx-admin-field-help{display:block;margin:5px 0 0;color:#98a1af;font-size:11px;line-height:1.6}
.gx-admin-media-editor [hidden]{display:none!important}
.gx-admin-upload-preview{display:block;width:100%;max-height:220px;object-fit:cover;border:1px solid #30343b;border-radius:10px}
.gx-admin-upload-placeholder{display:grid;place-items:center;min-height:100px;border:1px dashed #414650;border-radius:10px;background:#0a0c0f;color:#8992a1;font-size:12px}
.gx-admin-upload-control{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:15px;border:1px dashed #796238;border-radius:10px;background:#17140e;color:#e8cb80;font-size:12px;font-weight:800;text-align:center;cursor:pointer}
.gx-admin-upload-control input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.gx-admin-upload-control small{color:#a9a092;font-size:10px;font-weight:500}
.gx-admin-media-drop{min-height:115px}
.gx-admin-existing-media{color:#e6c879;font-size:11px;font-weight:800;text-decoration:none}
.gx-admin-rate-override{display:flex;flex-direction:column;gap:7px;margin:12px 0;padding:14px;border:1px solid #59482a;border-radius:11px;background:#17140e}
.gx-admin-rate-override label{font-size:12px;font-weight:800}
.gx-admin-rate-override label span{margin-left:5px;color:#d8bd75;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.gx-admin-rate-override small{color:#a9a092;font-size:11px;line-height:1.55}
.gx-ref-program-card-cover,.gx-admin-program-card-cover{display:block;width:calc(100% + 34px);max-width:none;height:100px;object-fit:cover;margin:-17px -17px 2px;border-radius:14px 14px 0 0;border-bottom:1px solid #30343b}
.gx-ref-program-media{display:block;width:100%;max-height:440px;object-fit:contain;margin:14px 0;border:1px solid #30343b;border-radius:12px;background:#050607}
.gx-ref-program-cover{display:block;width:100%;max-height:220px;object-fit:cover;margin:0 0 14px;border-radius:12px}
.gx-ref-program-file{display:flex;align-items:center;gap:8px;margin:14px 0;padding:14px;border:1px solid #59482a;border-radius:10px;background:#17140e;color:#e6c879;font-size:12px;font-weight:800;text-decoration:none}
@media(max-width:600px){.gx-admin-media-editor{padding:13px}.gx-ref-program-media{max-height:300px}}

/* Programas para participantes: catálogo limpio y detalles en ventana modal */
.gx-programs-home{gap:18px}.gx-programs-heading{padding:8px 2px 4px}.gx-programs-heading h1{margin:9px 0;font-size:clamp(28px,5vw,42px);letter-spacing:-.045em}.gx-programs-heading h1 span{color:var(--gold2,#e2c77e)}.gx-programs-heading p{max-width:680px;margin:0;color:#a8adb6;line-height:1.65;font-size:14px}
.gx-programs-home .gx-ref-program-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gx-programs-home .gx-ref-program-tile{display:flex;flex-direction:column;overflow:hidden;padding:0;text-align:left;border:1px solid #303238;border-radius:17px;background:linear-gradient(150deg,#121316,#0b0c0e);color:#f3f4f6;min-width:0}.gx-programs-home .gx-ref-program-card-cover{width:100%;height:155px;object-fit:cover;margin:0;border-radius:0;border-bottom:1px solid #303238}.gx-ref-program-card-placeholder{height:155px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:radial-gradient(circle at 50% 20%,#4a3b20 0,#17140f 38%,#0b0c0e 78%);color:#e2c77e}.gx-ref-program-card-placeholder span{font-size:38px}.gx-ref-program-card-placeholder small{font-size:9px;letter-spacing:.22em;font-weight:900}
.gx-programs-home .gx-ref-program-card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:17px;gap:10px}.gx-programs-home .gx-ref-program-type{margin:0}.gx-programs-home .gx-ref-program-card-copy h2{margin:0;font-size:18px;line-height:1.3;letter-spacing:-.02em}.gx-programs-home .gx-ref-program-card-copy p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0;color:#a7abb3;font-size:13px;line-height:1.6}.gx-ref-program-cta-btn{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:44px;margin-top:auto;padding:12px 14px;border:1px solid #786238;border-radius:11px;background:linear-gradient(135deg,#c7a35b,#a88640);color:#101010;font-size:13px;font-weight:900;text-align:left}.gx-ref-program-cta-btn span:last-child{font-size:17px}.gx-program-description-btn{margin-top:15px}.gx-program-short-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.gx-program-description-popup{display:grid;gap:12px}.gx-program-description-text,.gx-ref-program-requirements{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px;color:#d7d9de}.gx-program-requirements-eyebrow{margin-top:8px;padding-top:15px;border-top:1px solid #2a2d32}
.gx-program-participate{margin-top:18px;padding-top:17px;border-top:1px solid #2a2d32;display:grid;gap:14px}.gx-program-participate-head{display:grid;gap:12px}.gx-program-participate-head h3{margin:5px 0 0;font-size:18px}.gx-program-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gx-program-mini-stats span{display:flex;flex-direction:column;gap:4px;padding:10px;border:1px solid #2b2e34;border-radius:10px;background:#0b0c0e;min-width:0}.gx-program-mini-stats strong{font-size:15px;overflow-wrap:anywhere;color:#e2c77e}.gx-program-mini-stats small{font-size:10px;color:#999faa}.gx-program-referral-form{display:grid;gap:9px;padding:15px;border:1px solid #30333a;border-radius:13px;background:#0b0c0e}.gx-program-referral-form h4,.gx-program-referral-list h4{margin:0;font-size:14px}.gx-program-referral-form p{margin:0;color:#9ca2ac;font-size:12px;line-height:1.55}.gx-program-referral-form label{font-size:12px;font-weight:800;color:#d8dbe1}.gx-program-referral-form input{width:100%;min-height:43px;padding:10px 12px;border:1px solid #353941;border-radius:9px;background:#070809;color:#f3f4f6}.gx-program-referral-form .gx-ref-program-cta-btn{margin-top:4px}.gx-program-referral-list{display:grid;gap:9px}.gx-program-referral-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #2c2f35;border-radius:10px;background:#0b0c0e}.gx-program-referral-list article div{display:grid;gap:4px;min-width:0}.gx-program-referral-list article strong{font-size:13px}.gx-program-referral-list article small{font-size:11px;color:#9da2ac}.gx-program-code-share{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:12px;border:1px solid #514326;border-radius:11px;background:#15120c}.gx-program-code-share div{display:grid;gap:4px;min-width:0}.gx-program-code-share small{font-size:10px;color:#a9a092}.gx-program-code-share strong{font-size:13px;color:#e2c77e;letter-spacing:.06em;overflow-wrap:anywhere}.gx-program-code-share button{border:1px solid #69552f;border-radius:8px;background:#211b10;color:#e2c77e;font-size:11px;font-weight:800;padding:9px}.gx-programs-empty{margin-top:4px}
@media(max-width:650px){.gx-programs-home .gx-ref-program-grid{grid-template-columns:1fr}.gx-programs-home .gx-ref-program-card-cover,.gx-ref-program-card-placeholder{height:145px}.gx-programs-home .gx-ref-program-card-copy{padding:15px}.gx-program-code-share{grid-template-columns:1fr 1fr}.gx-program-code-share div{grid-column:1/-1}.gx-program-code-share button{min-height:40px}.gx-program-mini-stats{gap:6px}.gx-program-mini-stats span{padding:8px}}

/* Programa abierto como página completa; actividad navegable */
.gx-program-detail-page,.gx-program-activity-page{width:100%;min-height:calc(100svh - 100px);gap:18px}.gx-program-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:2px 0 4px}.gx-program-detail-hero{overflow:hidden;border:1px solid #303238;border-radius:18px;background:linear-gradient(145deg,#121316,#0b0c0e)}.gx-program-detail-banner{display:block;width:100%;max-height:300px;object-fit:cover;border-bottom:1px solid #303238}.gx-program-detail-copy{padding:clamp(18px,4vw,34px);display:grid;gap:13px}.gx-program-detail-copy h1{margin:0;font-size:clamp(28px,5vw,42px);letter-spacing:-.04em;line-height:1.12}.gx-program-detail-copy>p{margin:0;color:#a8adb6;line-height:1.7;font-size:14px;white-space:pre-line}.gx-program-detail-copy .gx-ref-program-detail-kpi{max-width:420px}.gx-program-detail-copy .gx-program-description-btn{width:min(100%,280px);margin-top:2px}.gx-program-activity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.gx-program-activity-grid>button{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:center;column-gap:11px;row-gap:5px;min-width:0;padding:14px;border:1px solid #303238;border-radius:14px;background:linear-gradient(145deg,#121316,#0b0c0e);color:#f3f4f6;text-align:left;cursor:pointer;transition:border-color .18s,transform .18s}.gx-program-activity-grid>button:hover{border-color:#8c713d;transform:translateY(-1px)}.gx-program-activity-icon{grid-column:1;grid-row:1/4;display:grid;place-items:center;width:40px;height:40px;border:1px solid #59482a;border-radius:11px;background:#211b10;color:#e2c77e;font-size:20px}.gx-program-activity-grid>button small{grid-column:2;font-size:11px;color:#a7abb3;line-height:1.35}.gx-program-activity-grid>button strong{grid-column:2;font-size:22px;overflow-wrap:anywhere}.gx-program-activity-grid>button .gx-ref-stat-link{grid-column:2;font-size:10px;color:#d2b66f}.gx-program-activity-page .gx-ref-panel h1{margin:8px 0 20px;font-size:clamp(24px,4vw,34px)}.gx-program-activity-page .gx-ref-detail-list{margin-top:16px}@media(max-width:760px){.gx-program-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gx-program-detail-banner{max-height:210px}}@media(max-width:420px){.gx-program-activity-grid{gap:8px}.gx-program-activity-grid>button{grid-template-columns:34px minmax(0,1fr);padding:10px;column-gap:8px}.gx-program-activity-icon{width:32px;height:32px}.gx-program-activity-grid>button strong{font-size:19px}.gx-program-detail-toolbar{align-items:flex-start;flex-direction:column}}

/* Programa con portada y contenido superpuesto, estilo evento/entrenamiento */
.gx-program-event-style{position:relative;min-height:360px;isolation:isolate;display:flex;align-items:flex-end;overflow:hidden;background:#0b0c0e}
.gx-program-event-style:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,6,8,.96),rgba(5,6,8,.82) 48%,rgba(5,6,8,.24)),linear-gradient(0deg,rgba(5,6,8,.84),transparent 70%)}
.gx-program-event-style .gx-program-detail-banner{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;border:0;z-index:-2}
.gx-program-no-banner{display:grid;place-items:center;background:radial-gradient(circle at 75% 25%,#4a3920,#17130c 38%,#08090a 80%);color:#e2c77e;font-weight:900;letter-spacing:.22em}
.gx-program-detail-overlay{width:min(100%,760px);padding:clamp(20px,4vw,36px);display:grid;gap:13px}
.gx-program-detail-overlay h1{margin:0;font-size:clamp(28px,5vw,44px);line-height:1.08;letter-spacing:-.04em;color:#fff}
.gx-program-hero-description{margin:0;color:#e1e3e8;font-size:14px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.gx-program-hero-reward{display:grid;gap:5px;width:fit-content;max-width:100%;padding:11px 14px;border:1px solid rgba(218,184,104,.55);border-radius:11px;background:rgba(13,12,10,.76)}
.gx-program-hero-reward small{font-size:9px;font-weight:900;letter-spacing:.17em;color:#d9bc77}.gx-program-hero-reward strong{font-size:15px;color:#f4d78b;overflow-wrap:anywhere}
.gx-program-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:2px}.gx-program-hero-actions .gx-ref-program-cta-btn,.gx-program-hero-actions .gx-admin-secondary-btn{width:auto;min-width:160px;justify-content:center;margin:0;min-height:44px}.gx-program-hero-actions .gx-admin-secondary-btn{border-color:#73603b;background:rgba(16,16,17,.88);color:#f0d38a}
.gx-program-referrals-entry{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:15px;border:1px solid #303238;border-radius:14px;background:linear-gradient(145deg,#121316,#0b0c0e);color:#f4f4f6;text-align:left;cursor:pointer}
.gx-program-referrals-entry>span:nth-child(2){display:grid;gap:5px;min-width:0}.gx-program-referrals-entry strong{font-size:15px}.gx-program-referrals-entry small{font-size:12px;color:#a6abb5}.gx-program-referral-entry-arrow{font-size:12px;font-weight:800;color:#e2c77e;white-space:nowrap}
.gx-program-referrals-panel{position:relative;padding:clamp(18px,4vw,28px);padding-top:28px}.gx-program-panel-close{position:absolute;right:15px;top:15px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #383b42;border-radius:11px;background:#17181b;color:#f2f2f2;font-size:25px;line-height:1;cursor:pointer}
.gx-program-referrals-panel h1{margin:8px 45px 8px 0;font-size:clamp(25px,4vw,34px)}.gx-program-list-intro{margin:0 0 18px;color:#a5aab3;font-size:13px;line-height:1.6}.gx-program-referrals-list{display:grid;gap:9px}
.gx-program-referral-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;width:100%;padding:14px;border:1px solid #303238;border-radius:12px;background:#0d0e10;color:#f4f4f6;text-align:left;cursor:pointer}.gx-program-referral-row:hover{border-color:#8b713f}
.gx-program-referral-row-main{display:grid;gap:5px;min-width:0}.gx-program-referral-row-main strong{font-size:14px;overflow-wrap:anywhere}.gx-program-referral-row-main small{font-size:11px;color:#a3a8b1}.gx-program-row-open{grid-column:1/-1;justify-self:end;font-size:11px;font-weight:800;color:#e2c77e}
.gx-program-earning-value{display:grid;justify-items:end;gap:5px}.gx-program-total-earned{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 16px;padding:14px;border:1px solid #5a492a;border-radius:12px;background:#15120c}.gx-program-total-earned small{font-size:12px;color:#b8b1a2}.gx-program-total-earned strong{font-size:20px;color:#f0d080}
@media(max-width:600px){.gx-program-event-style{min-height:400px}.gx-program-event-style:after{background:linear-gradient(0deg,rgba(5,6,8,.97),rgba(5,6,8,.8) 56%,rgba(5,6,8,.22))}.gx-program-detail-overlay{padding:19px;gap:11px}.gx-program-hero-actions{display:grid;grid-template-columns:1fr 1fr}.gx-program-hero-actions .gx-ref-program-cta-btn,.gx-program-hero-actions .gx-admin-secondary-btn{min-width:0;width:100%;padding:10px 9px;font-size:12px}.gx-program-referrals-entry{grid-template-columns:36px minmax(0,1fr)}.gx-program-referral-entry-arrow{grid-column:2}.gx-program-activity-page .gx-program-referrals-panel{padding:20px 14px}.gx-program-referral-row{padding:12px;gap:8px}}


/* Gana más: tarjetas horizontales al estilo de eventos Grayxon */
.gx-program-banner-list{display:flex!important;flex-direction:column;gap:14px!important}
.gx-program-banner-card{position:relative!important;display:flex!important;min-height:168px;overflow:hidden!important;border:1px solid #3a3330!important;border-radius:17px!important;background:#08090b!important;isolation:isolate}
.gx-program-banner-card .gx-ref-program-card-cover,.gx-program-banner-card .gx-ref-program-card-placeholder{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;border:0!important;border-radius:0!important;z-index:-2}
.gx-program-banner-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,7,10,.96),rgba(5,7,10,.79) 52%,rgba(5,7,10,.3)),linear-gradient(0deg,rgba(5,7,10,.68),transparent 65%)}
.gx-program-banner-content{width:100%;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:13px;padding:15px 17px}
.gx-program-live-tag{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:5px 9px;border:1px solid rgba(37,244,238,.55);border-radius:999px;background:rgba(5,10,13,.72);color:#7ef8e9;font-size:9px;font-weight:900;letter-spacing:.08em;line-height:1.2}
.gx-program-live-tag:before{content:"";width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
.gx-program-banner-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
.gx-program-banner-copy{min-width:0}.gx-program-banner-copy h2{margin:0 0 5px;color:#fff;font-size:clamp(17px,2.6vw,22px);line-height:1.2;letter-spacing:-.025em}
.gx-program-banner-copy p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;max-width:620px;color:#d0d3da;font-size:12px;line-height:1.45}
.gx-program-banner-reward{display:grid;justify-items:end;gap:3px;max-width:145px;text-align:right;color:#f6d77d}.gx-program-banner-reward strong{font-size:clamp(18px,3vw,25px);font-weight:900;line-height:1.05;overflow-wrap:anywhere}.gx-program-banner-reward small{font-size:9px;font-weight:900;letter-spacing:.08em}
.gx-program-banner-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.gx-program-banner-footer>span{color:#d2d5dc;font-size:10px}
.gx-program-banner-card .gx-ref-program-cta-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:auto!important;min-width:0!important;min-height:34px!important;margin:0!important;padding:8px 14px!important;border-radius:999px!important;font-size:11px!important;line-height:1.1!important;white-space:nowrap}
.gx-program-detail-page{display:flex;flex-direction:column;gap:16px}.gx-program-detail-toolbar{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap}
.gx-program-detail-hero{position:relative;min-height:300px;isolation:isolate;display:flex;align-items:flex-end;overflow:hidden;border:1px solid #353237;border-radius:17px;background:#08090b}
.gx-program-detail-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(4,5,7,.94),rgba(4,5,7,.77) 55%,rgba(4,5,7,.25)),linear-gradient(0deg,rgba(4,5,7,.88),transparent 80%)}
.gx-program-detail-hero .gx-program-detail-banner{position:absolute;inset:0;z-index:-2;width:100%;height:100%;max-height:none;object-fit:cover;border:0}
.gx-program-detail-overlay{width:100%;padding:clamp(17px,3vw,27px);display:flex;flex-direction:column;gap:16px}
.gx-program-detail-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.gx-program-detail-validity{color:#e3e5e9;font-size:10px;text-align:right}
.gx-program-detail-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,190px);align-items:center;gap:20px}
.gx-program-detail-titleblock{min-width:0}.gx-program-detail-titleblock h1{margin:0 0 8px;color:#fff;font-size:clamp(25px,4vw,38px);font-weight:850;line-height:1.1;letter-spacing:-.04em;overflow-wrap:anywhere}
.gx-program-hero-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0;color:#e0e2e7;font-size:13px;line-height:1.55;white-space:pre-line}
.gx-program-detail-reward{display:grid;justify-items:end;gap:5px;padding:10px 0 10px 14px;border-left:1px solid rgba(224,190,105,.6);text-align:right}.gx-program-detail-reward small{color:#e7ca7b;font-size:9px;font-weight:900;letter-spacing:.14em}.gx-program-detail-reward strong{color:#f7d77d;font-size:clamp(18px,2.6vw,27px);line-height:1.1;overflow-wrap:anywhere}
.gx-program-hero-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.gx-program-hero-actions .gx-ref-program-cta-btn,.gx-program-hero-actions .gx-admin-secondary-btn{display:inline-flex;align-items:center;justify-content:center;width:auto!important;min-width:140px;min-height:38px;margin:0;padding:9px 15px;border-radius:10px;font-size:11px;line-height:1.2}.gx-program-hero-actions .gx-admin-secondary-btn{border-color:#786136;color:#f2d484;background:rgba(8,9,11,.72)}
.gx-program-activity-section{display:flex;flex-direction:column;gap:12px}.gx-program-section-heading h2{margin:4px 0 0;color:#fff;font-size:20px;line-height:1.2}
.gx-program-activity-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.gx-program-activity-grid-two>button{display:grid;grid-template-columns:42px minmax(0,1fr) 14px;align-items:center;gap:11px;min-width:0;padding:14px;border:1px solid #303238;border-radius:13px;background:linear-gradient(145deg,#121316,#0b0c0e);color:#f3f4f6;text-align:left;cursor:pointer}
.gx-program-activity-card-copy{display:grid;gap:4px;min-width:0}.gx-program-activity-card-copy small{color:#b0b4bd;font-size:11px}.gx-program-activity-card-copy strong{color:#fff;font-size:22px;line-height:1.1;overflow-wrap:anywhere}.gx-program-activity-card-copy em{color:#c4a964;font-size:10px;font-style:normal;line-height:1.35}.gx-program-card-chevron{color:#d8bd76;font-size:25px;line-height:1}
.gx-program-personal-code{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;border:1px solid #514329;border-radius:13px;background:linear-gradient(120deg,rgba(39,30,14,.7),rgba(14,14,15,.95))}.gx-program-personal-code p{margin:5px 0;color:#bfc2c9;font-size:11px;line-height:1.45}.gx-program-personal-code strong{color:#f3d27b;font-size:19px;letter-spacing:.05em;overflow-wrap:anywhere}
.gx-program-code-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.gx-program-code-actions button{min-height:36px;padding:8px 12px;border:1px solid #705a31;border-radius:9px;background:#19150d;color:#f2d37e;font-size:11px;font-weight:800;cursor:pointer}
.gx-program-referrals-panel{position:relative;padding:clamp(17px,3vw,25px);padding-top:25px}.gx-program-panel-close{position:absolute;top:14px;right:14px;width:36px;height:36px;display:grid;place-items:center;border:1px solid #383b42;border-radius:10px;background:#17181b;color:#f2f2f2;font-size:24px;line-height:1;cursor:pointer}
.gx-program-referrals-panel h1{margin:7px 45px 14px 0;font-size:clamp(24px,4vw,32px)}.gx-program-filter-row{display:flex;gap:7px;overflow-x:auto;padding:0 0 12px}
.gx-program-filter-chip{display:inline-flex;align-items:center;gap:6px;flex:none;padding:8px 11px;border:1px solid #303238;border-radius:999px;background:#101114;color:#c6c9d0;font-size:11px;cursor:pointer}.gx-program-filter-chip.active{border-color:#d4b567;background:#d4b567;color:#111}
.gx-program-referral-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;align-items:center;width:100%;padding:13px;border:1px solid #303238;border-radius:12px;background:#0d0e10;color:#f4f4f6;text-align:left;cursor:pointer}.gx-program-referral-row-main{display:grid;gap:5px;min-width:0}.gx-program-referral-row-main strong{font-size:14px;overflow-wrap:anywhere}.gx-program-referral-row-main small{font-size:11px;color:#a3a8b1}.gx-program-row-open{grid-column:1/-1;justify-self:end;color:#e2c77e;font-size:11px;font-weight:800}
.gx-program-earnings-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 16px}.gx-program-earnings-summary>div{display:grid;gap:7px;padding:13px;border:1px solid #303238;border-radius:12px;background:#101114}.gx-program-earnings-summary small{color:#aeb3bd;font-size:11px}.gx-program-earnings-summary strong{color:#f4d47a;font-size:20px;overflow-wrap:anywhere}
.gx-program-earnings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px;border:1px solid #303238;border-radius:12px;background:#0d0e10;color:#f3f4f6;text-align:left;cursor:pointer}.gx-program-earnings-row>span:first-child{display:grid;gap:5px;min-width:0}.gx-program-earnings-row small{color:#a4a9b2;font-size:11px}.gx-program-earning-value{display:grid;justify-items:end;gap:5px}.gx-program-earning-value em{color:#d9bc76;font-size:10px;font-style:normal}
@media(max-width:620px){.gx-program-banner-content{padding:12px;gap:10px}.gx-program-banner-main{grid-template-columns:minmax(0,1fr) auto;gap:8px}.gx-program-banner-copy h2{font-size:16px}.gx-program-banner-copy p{font-size:11px}.gx-program-banner-reward{max-width:100px}.gx-program-banner-reward strong{font-size:18px}.gx-program-banner-footer>span{font-size:9px}.gx-program-banner-card .gx-ref-program-cta-btn{padding:8px 11px!important;font-size:10px!important}.gx-program-detail-hero{min-height:300px}.gx-program-detail-overlay{padding:14px;gap:13px}.gx-program-detail-main{grid-template-columns:minmax(0,1fr) minmax(90px,115px);gap:10px}.gx-program-detail-titleblock h1{font-size:clamp(21px,6vw,29px)}.gx-program-hero-description{font-size:11px;-webkit-line-clamp:4}.gx-program-detail-reward{padding-left:9px}.gx-program-detail-reward strong{font-size:18px}.gx-program-hero-actions{display:grid;grid-template-columns:1fr 1fr}.gx-program-hero-actions .gx-ref-program-cta-btn,.gx-program-hero-actions .gx-admin-secondary-btn{min-width:0;width:100%!important;padding:9px 7px;font-size:10px}.gx-program-activity-grid-two{grid-template-columns:1fr}.gx-program-personal-code{align-items:stretch;flex-direction:column;gap:11px}.gx-program-code-actions{display:grid;grid-template-columns:1fr 1fr}.gx-program-code-actions button{width:100%}.gx-program-referrals-panel{padding:18px 13px}}


/* Vista de programa a pantalla completa: ocultar cabecera global solo en el detalle */
body.gx-program-fullscreen header.top{display:none!important}
body.gx-program-fullscreen main.wrap{width:100%!important;max-width:none!important;margin:0!important;padding-top:0!important;padding-left:0!important;padding-right:0!important}
body.gx-program-fullscreen main.wrap>#gxReferralsPage{width:100%!important;max-width:none!important;min-height:100svh!important;padding:0 0 calc(104px + env(safe-area-inset-bottom))!important;margin:0!important}
body.gx-program-fullscreen .gx-program-detail-page{width:100%!important;max-width:none!important;gap:14px!important;margin:0!important;padding:0 0 calc(12px + env(safe-area-inset-bottom))!important}
body.gx-program-fullscreen .gx-program-detail-hero{min-height:clamp(290px,48svh,470px)!important;align-items:flex-start!important;border-top:0!important;border-left:0!important;border-right:0!important;border-radius:0 0 17px 17px!important}
body.gx-program-fullscreen .gx-program-detail-overlay{padding:clamp(16px,3.5vw,28px)!important;padding-top:max(16px,env(safe-area-inset-top))!important;gap:clamp(12px,2.5svh,22px)!important}
body.gx-program-fullscreen .gx-program-detail-topline{margin-bottom:0}
body.gx-program-fullscreen .gx-program-detail-main{margin-top:0}
body.gx-program-fullscreen .gx-program-detail-titleblock h1{margin-top:0}
body.gx-program-fullscreen .gx-program-hero-actions{margin-top:0}
body.gx-program-fullscreen .gx-program-activity-section,body.gx-program-fullscreen .gx-program-detail-page>.gx-ref-program-media,body.gx-program-fullscreen .gx-program-detail-page>.gx-ref-program-file{margin-left:15px!important;margin-right:15px!important}
@media(max-width:620px){
 body.gx-program-fullscreen .gx-program-detail-hero{min-height:clamp(310px,46svh,430px)!important}
 body.gx-program-fullscreen .gx-program-detail-overlay{padding:15px!important;padding-top:max(14px,env(safe-area-inset-top))!important;gap:12px!important}
 body.gx-program-fullscreen .gx-program-detail-main{grid-template-columns:minmax(0,1fr) minmax(88px,115px)!important}
 body.gx-program-fullscreen .gx-program-hero-description{-webkit-line-clamp:3}
}

/* Ajuste fino móvil: tarjeta de programa compacta y métricas centradas */
body.gx-program-fullscreen main.wrap>#gxReferralsPage{padding-top:10px!important}
body.gx-program-fullscreen .gx-program-detail-page{gap:14px!important}
body.gx-program-fullscreen .gx-program-detail-hero{min-height:0!important;height:auto!important;align-items:stretch!important;border-top:1px solid #353237!important;border-left:1px solid #353237!important;border-right:1px solid #353237!important;border-radius:16px!important;margin:0 10px!important;width:calc(100% - 20px)!important}
body.gx-program-fullscreen .gx-program-detail-hero:after{background:linear-gradient(90deg,rgba(4,5,7,.92),rgba(4,5,7,.76) 55%,rgba(4,5,7,.38)),linear-gradient(0deg,rgba(4,5,7,.48),transparent 75%)}
body.gx-program-fullscreen .gx-program-detail-overlay{padding:13px 14px 15px!important;padding-top:13px!important;gap:11px!important}
body.gx-program-fullscreen .gx-program-detail-main{margin-top:0!important;gap:9px!important}
body.gx-program-fullscreen .gx-program-detail-titleblock h1{margin:0 0 5px!important}
body.gx-program-fullscreen .gx-program-hero-description{-webkit-line-clamp:2!important;line-height:1.4!important}
body.gx-program-fullscreen .gx-program-hero-actions{margin-top:1px!important}
body.gx-program-fullscreen .gx-program-activity-grid-two>button{min-height:104px!important;grid-template-columns:42px minmax(0,1fr) 14px!important;align-items:center!important;padding:12px!important}
body.gx-program-fullscreen .gx-program-activity-card-copy{align-self:center!important;justify-self:stretch!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:4px!important;min-height:64px!important;text-align:left!important}
body.gx-program-fullscreen .gx-program-activity-card-copy small{color:#aeb5bd!important;font-size:11px!important;line-height:1.2!important}
body.gx-program-fullscreen .gx-program-activity-card-copy strong{color:#67e6c1!important;font-size:24px!important;font-weight:850!important;line-height:1.1!important;font-variant-numeric:tabular-nums}
body.gx-program-fullscreen .gx-program-activity-card-copy em{color:#d4c17f!important;font-size:10px!important;line-height:1.3!important}
body.gx-program-fullscreen .gx-program-activity-grid-two>button:nth-child(2) .gx-program-activity-card-copy strong{color:#7de8d1!important}
body.gx-program-fullscreen .gx-program-activity-icon{align-self:center!important}
@media(max-width:620px){
 body.gx-program-fullscreen main.wrap>#gxReferralsPage{padding-top:10px!important}
 body.gx-program-fullscreen .gx-program-detail-hero{min-height:0!important;height:auto!important;margin:0 10px!important;width:calc(100% - 20px)!important}
 body.gx-program-fullscreen .gx-program-detail-overlay{padding:12px 12px 14px!important;gap:10px!important}
 body.gx-program-fullscreen .gx-program-detail-topline{gap:8px!important}
 body.gx-program-fullscreen .gx-program-detail-validity{font-size:10px!important}
 body.gx-program-fullscreen .gx-program-detail-main{grid-template-columns:minmax(0,1fr) minmax(88px,112px)!important}
 body.gx-program-fullscreen .gx-program-detail-titleblock h1{font-size:clamp(20px,5.8vw,28px)!important}
 body.gx-program-fullscreen .gx-program-detail-reward strong{font-size:18px!important}
 body.gx-program-fullscreen .gx-program-activity-grid-two>button{min-height:100px!important}
}

/* Administración financiera: liquidaciones agrupadas por referente */
.gx-commission-search{display:grid;gap:7px;margin:0 0 14px}.gx-commission-search label,.gx-commission-status-label{color:#b8c0cb;font-size:11px;font-weight:700}
.gx-commission-search input,.gx-commission-status-label select{width:100%;min-width:0;min-height:40px;border:1px solid #343943;border-radius:10px;background:#090b0e;color:#f5f6f8;padding:9px 11px;font:inherit}
.gx-commission-groups{display:grid;gap:10px}.gx-commission-person{border:1px solid #30343c;border-radius:13px;background:linear-gradient(145deg,#101114,#0b0c0f);overflow:hidden}
.gx-commission-person>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px;cursor:pointer}.gx-commission-person>summary::-webkit-details-marker{display:none}.gx-commission-person>summary:after{content:'＋';color:#d8bc76;font-size:17px;font-weight:800}.gx-commission-person[open]>summary:after{content:'−'}
.gx-commission-person>summary>span:first-child{display:grid;gap:5px;min-width:0}.gx-commission-person>summary strong{font-size:14px;color:#f6f7f8;overflow-wrap:anywhere}.gx-commission-person>summary small{font-size:11px;color:#9fa8b5}.gx-commission-person-total{font-size:12px;font-weight:800;color:#70e4bf;white-space:nowrap}
.gx-commission-person-rows{display:grid;gap:8px;padding:0 10px 10px}.gx-commission-row{margin:0!important;align-items:center;gap:12px}.gx-commission-row .gx-admin-list-main{min-width:0}.gx-commission-row .gx-admin-list-main strong{overflow-wrap:anywhere}.gx-commission-row .gx-admin-list-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gx-commission-status-label{display:grid;gap:5px;min-width:145px}.gx-commission-status-label select{font-size:11px;padding:7px 9px;min-height:36px}.gx-commission-person[hidden]{display:none!important}.gx-ref-status.cancelled{color:#f0a0a0;border-color:rgba(240,130,130,.35);background:rgba(125,30,30,.14)}
@media(max-width:620px){.gx-commission-person>summary{padding:12px;gap:8px}.gx-commission-person-total{font-size:10px}.gx-commission-row{align-items:flex-start!important;flex-direction:column}.gx-commission-row .gx-admin-list-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}.gx-commission-status-label{min-width:0}}
