/* cPanel member portal: deliberately self-contained so the Firebase-era CSS cannot override it. */
.cpanel-shell{margin:0;min-height:100vh;background:#070b18;color:#eef4ff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cpanel-shell *{box-sizing:border-box}.cpanel-shell .topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:26px;min-height:70px;padding:14px max(16px,calc((100% - 1180px)/2));background:rgba(8,12,29,.94);backdrop-filter:blur(16px);border-bottom:1px solid #223055}.cpanel-shell .brand{display:inline-flex;align-items:center;gap:10px;color:#f5f7ff;text-decoration:none;font-weight:800;letter-spacing:-.02em;white-space:nowrap}.cpanel-shell .brand i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#36d9c2,#6c78ff);color:#fff;font-size:.7rem;font-style:normal}.cpanel-shell .brand>span{color:inherit}.cpanel-shell .brand span span{color:#57e2cd}.cpanel-shell #nav{display:flex;align-items:center;gap:18px;margin-left:auto}.cpanel-shell #nav a{color:#a9b9d9;text-decoration:none;font-size:.8rem;font-weight:700}.cpanel-shell #nav a:hover{color:#fff}.cpanel-shell .nav-actions{display:flex;align-items:center;gap:9px}.cpanel-shell .nav-actions .cp-button{white-space:nowrap}.cpanel-shell .site-footer{display:none}.cpanel-shell .cp-page,.cpanel-shell .cp-hero,.cpanel-shell .cp-feature-grid,.cpanel-shell .cp-auth{width:min(1180px,calc(100% - 32px));margin:0 auto}.cp-page{padding:52px 0 84px}.cp-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:26px}.cp-heading h1,.cp-hero h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1.05;margin:7px 0 12px;letter-spacing:-.04em}.cp-heading>div>p:last-child,.cp-hero p{color:#9eafd1;max-width:680px;margin:0;line-height:1.6}.cp-kicker{color:#53ddc4!important;font-size:.72rem!important;font-weight:800;letter-spacing:.16em;text-transform:uppercase;margin:0!important}.cp-button{border:0;border-radius:10px;background:linear-gradient(135deg,#8cebd8,#23cdb9);color:#04121b!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;font:700 .86rem/1.1 inherit;text-decoration:none;cursor:pointer;transition:transform .18s,filter .18s}.cp-button:hover{transform:translateY(-1px);filter:brightness(1.08)}.cp-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.cp-button.ghost{background:#16213c;border:1px solid #3a4e78;color:#dbe7ff!important}.cp-button.wide{width:100%}.cp-balance{color:#72f2c8;background:#102b2e;border:1px solid #245f5b;padding:7px 11px;border-radius:9px;font-weight:800}.cp-user{color:#b4c4e0;font-size:.8rem;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-hero{min-height:500px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:50px;padding:64px 0}.cp-hero>img{width:min(300px,70%);justify-self:center;filter:drop-shadow(0 0 45px #304ea2)}.cp-hero-actions{display:flex;gap:12px;margin-top:28px}.cp-feature-grid,.cp-stat-grid,.cp-action-grid,.cp-offer-grid{display:grid;gap:16px}.cp-feature-grid{grid-template-columns:repeat(3,1fr);padding:0 0 80px}.cp-feature-grid article,.cp-stat-grid article,.cp-action,.cp-panel,.cp-offer{background:linear-gradient(145deg,#111d38,#0d152b);border:1px solid #263b65;border-radius:17px;box-shadow:0 18px 50px rgba(0,0,0,.18)}.cp-feature-grid article{padding:22px}.cp-feature-grid b,.cp-feature-grid span{display:block}.cp-feature-grid span,.cp-action span{color:#96a9cc;line-height:1.5;font-size:.85rem;margin-top:8px}.cp-auth{min-height:calc(100vh - 180px);display:grid;place-items:center;padding:48px 0}.cp-auth-card{width:min(460px,100%);background:linear-gradient(145deg,#142242,#0e162d);border:1px solid #365180;border-radius:22px;padding:34px;box-shadow:0 24px 70px rgba(0,0,0,.32)}.cp-auth-card>img{width:58px;height:58px;border-radius:17px;margin-bottom:25px}.cp-auth-card h1{margin:8px 0 10px;font-size:2rem}.cp-muted{color:#9eafd1;line-height:1.55}.cp-auth-card form,.cp-panel form{display:grid;gap:14px;margin-top:23px}.cpanel-shell label{display:grid;gap:7px;color:#cbd8f0;font-size:.82rem;font-weight:700}.cpanel-shell label small{color:#8397bf;font-weight:400}.cpanel-shell input,.cpanel-shell select,.cpanel-shell textarea{width:100%;border:1px solid #344d7b;background:#081329;color:#eff5ff;border-radius:10px;padding:12px 13px;outline:none;font:inherit}.cpanel-shell input:focus,.cpanel-shell select:focus,.cpanel-shell textarea:focus{border-color:#5edfc8;box-shadow:0 0 0 3px rgba(94,223,200,.13)}.cpanel-shell textarea{min-height:90px;resize:vertical}.cp-switch{text-align:center;color:#a5b4d2;font-size:.9rem}.cp-switch a{color:#68e5ce}.cp-stat-grid{grid-template-columns:repeat(4,1fr);margin-bottom:25px}.cp-stat-grid article{padding:23px}.cp-stat-grid span{display:block;color:#99abcb;font-size:.8rem}.cp-stat-grid strong{display:block;color:#f5fbff;font-size:1.8rem;margin-top:9px}.cp-panel{padding:24px;margin-top:20px}.cp-panel-title{display:flex;justify-content:space-between;align-items:center}.cp-panel h2{margin:0;font-size:1.25rem}.cp-panel-title p{color:#94a6c8;margin:7px 0 0;font-size:.85rem}.cp-action-grid{grid-template-columns:repeat(3,1fr);margin-top:17px}.cp-action{padding:19px;text-decoration:none;color:#eff5ff;display:block}.cp-action:hover{border-color:#59dec8}.cp-filter{margin-top:0}.cp-filter form{display:grid;grid-template-columns:1.5fr 1fr auto auto;align-items:center;margin:0;gap:11px}.cp-check{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:7px;white-space:nowrap}.cp-check input{width:auto}.cp-offer-count{color:#91a5c8;font-size:.85rem;margin:21px 3px}.cp-offer-grid{grid-template-columns:repeat(3,1fr)}.cp-offer{padding:18px;display:flex;flex-direction:column;min-height:270px}.cp-offer-top{display:flex;gap:12px}.cp-offer-top img,.cp-offer-icon{width:50px;height:50px;border-radius:13px;object-fit:cover;background:#21345b;display:grid;place-items:center;color:#70e8d1;font-weight:800;flex:none}.cp-offer h3{margin:2px 0 4px;font-size:1rem}.cp-offer p{color:#95a9ca;font-size:.77rem;line-height:1.45;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cp-tags{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0;color:#aec0df;font-size:.69rem}.cp-tags span{border:1px solid #334a77;border-radius:999px;padding:4px 8px}.cp-tags .fast{color:#60edc7;border-color:#257a68;background:#102d2a}.cp-offer-meta{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;color:#91a7c8;font-size:.72rem;margin:2px 0 17px}.cp-offer-meta strong{color:#64ebc5;font-size:.95rem}.cp-offer .cp-button{margin-top:auto}.cp-empty,.cp-error{padding:38px;text-align:center;color:#9badcc;border:1px dashed #30466f;border-radius:14px}.cp-error{color:#ffb0bd;border-color:#71384d}.cp-pager{display:flex;justify-content:center;gap:10px;margin:25px}.cp-modal{position:fixed;inset:0;background:rgba(1,5,15,.78);backdrop-filter:blur(8px);z-index:50;display:grid;place-items:center;padding:16px}.cp-modal-card{position:relative;width:min(560px,100%);max-height:90vh;overflow:auto;background:#111d38;border:1px solid #46649b;border-radius:20px;padding:28px;box-shadow:0 35px 100px #000}.cp-modal-card h2{margin:8px 0}.cp-close{position:absolute;right:15px;top:12px;border:0;background:transparent;color:#b5c6e1;font-size:1.7rem;cursor:pointer}.cp-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cp-generated{margin-top:16px;padding:15px;border-radius:12px;background:#0a1730;border:1px solid #31517f}.cp-generated input{font-size:.72rem}.cp-generated .cp-button{margin:9px 7px 0 0}.cp-link-list,.cp-history{display:grid;gap:10px}.cp-link-row,.cp-history-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;border-radius:11px;background:#0a1630;border:1px solid #213a68}.cp-link-row b,.cp-history-row b{display:block;font-size:.88rem}.cp-link-row span,.cp-history-row span{display:block;color:#91a6c9;font-size:.75rem;margin-top:5px}.cp-link-actions{display:flex;gap:7px}.cp-link-actions .cp-button{padding:8px 11px;font-size:.74rem}.cp-status{padding:5px 8px;border-radius:999px;text-transform:capitalize!important;border:1px solid #496284}.cp-status.pending{color:#ffdb86!important;border-color:#8b6b2b}.cp-status.paid{color:#70efc6!important;border-color:#297c67}.cp-status.rejected,.cp-status.cancelled{color:#ff9cac!important;border-color:#794151}.cp-balance-large{padding:16px 0 6px}.cp-balance-large span{display:block;color:#9aacc9}.cp-balance-large strong{display:block;font-size:2.6rem;margin-top:5px;color:#75eed0}.cp-cashout-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cp-loading{min-height:55vh;display:grid;place-content:center;justify-items:center;color:#a5b8d7}.cp-loading span{width:38px;height:38px;border:3px solid #2d446d;border-top-color:#67e6cf;border-radius:50%;animation:cp-spin .8s linear infinite}.cp-toast{position:fixed;right:20px;bottom:20px;z-index:80;background:#132444;border:1px solid #4c6ea6;color:#edf5ff;padding:13px 16px;border-radius:11px;box-shadow:0 15px 45px #000;max-width:360px}@keyframes cp-spin{to{transform:rotate(360deg)}}
@media(max-width:850px){.cp-hero{grid-template-columns:1fr;padding:43px 0 55px}.cp-hero>img{width:150px;grid-row:1}.cp-feature-grid,.cp-stat-grid,.cp-action-grid,.cp-offer-grid{grid-template-columns:1fr 1fr}.cp-filter form{grid-template-columns:1fr 1fr}.cp-filter form .cp-button{width:100%}.cp-cashout-grid{grid-template-columns:1fr}.cp-user{display:none}}
@media(max-width:560px){.cpanel-shell .topbar{padding:9px 12px}.cpanel-shell #nav{display:none}.cpanel-shell .brand{font-size:.85rem}.cpanel-shell .brand i{width:30px;height:30px}.cp-page,.cp-hero,.cp-feature-grid,.cp-auth{width:min(100% - 22px,1180px)}.cp-page{padding:30px 0 55px}.cp-hero{min-height:440px}.cp-feature-grid,.cp-stat-grid,.cp-action-grid,.cp-offer-grid{grid-template-columns:1fr}.cp-filter form{grid-template-columns:1fr}.cp-auth-card{padding:25px 19px}.cp-two{grid-template-columns:1fr}.cp-link-row,.cp-history-row{align-items:flex-start;flex-direction:column}.cp-link-actions{width:100%}.cp-link-actions .cp-button{flex:1}.cp-offer-meta{font-size:.68rem}}
.cp-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cp-admin-grid .cp-panel{margin-top:0}.cp-admin-list{display:grid;gap:9px;margin-top:20px}.cp-admin-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid #213a68;border-radius:11px;background:#0a1630}.cp-admin-row b,.cp-admin-row span,.cp-admin-row small{display:block}.cp-admin-row span,.cp-admin-row small{color:#91a6c9;font-size:.74rem;margin-top:4px}.withdrawal-status-form{display:flex!important;align-items:center;gap:7px;margin:0!important;min-width:min(390px,100%)}.withdrawal-status-form select,.withdrawal-status-form input{padding:9px 10px;font-size:.74rem}.withdrawal-status-form input{min-width:120px}.withdrawal-status-form .cp-button{padding:9px 11px;font-size:.74rem;white-space:nowrap}
@media(max-width:850px){.cp-admin-grid{grid-template-columns:1fr}.withdrawal-status-form{flex-wrap:wrap;width:100%}.withdrawal-status-form>*{flex:1}.withdrawal-status-form .cp-button{flex:none}}

/* Public auth pages: BucksWall-inspired split layout using Instant Lead Cash branding. */
.auth-page-active{background:#eef4fb;color:#0b1220}
.auth-page-active .topbar,.auth-page-active .site-footer{display:none!important}
.auth-page-active #app{min-height:100vh}
.auth-page-active .cp-auth{width:100%;max-width:none;margin:0;padding:0;min-height:100vh}
.cp-auth-layout{display:grid;grid-template-columns:minmax(330px,.88fr) minmax(430px,1.12fr);background:#fff}
.cp-auth-brand{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:34px;padding:clamp(38px,6vw,72px);color:#fff;background:linear-gradient(150deg,#2563eb 0%,#0ea5e9 48%,#0d9488 100%)}
.cp-auth-brand:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(520px 420px at 90% 8%,rgba(255,255,255,.18),transparent 62%),radial-gradient(460px 420px at 8% 95%,rgba(255,255,255,.13),transparent 58%)}
.cp-auth-brand-logo{display:inline-flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font-size:1.15rem;letter-spacing:-.02em}
.cp-auth-brand-logo>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);font-size:.72rem;font-weight:900}
.cp-auth-brand-logo strong{font-weight:800}.cp-auth-brand-logo strong span{color:#d7fff6}
.cp-auth-brand-copy{max-width:470px}.cp-auth-brand-copy .cp-kicker{color:#d7fff6!important}.cp-auth-brand-copy h1{margin:12px 0 16px;font-size:clamp(2.1rem,4vw,3.3rem);line-height:1.08;letter-spacing:-.045em}.cp-auth-brand-copy>p:last-child{margin:0;color:rgba(255,255,255,.9);font-size:.96rem;line-height:1.65;max-width:430px}
.cp-auth-stats{display:flex;flex-wrap:wrap;gap:11px}.cp-auth-stats>div{min-width:112px;padding:13px 15px;border:1px solid rgba(255,255,255,.25);border-radius:13px;background:rgba(255,255,255,.13)}.cp-auth-stats b,.cp-auth-stats span{display:block}.cp-auth-stats b{font-size:1.05rem}.cp-auth-stats span{margin-top:4px;font-size:.72rem;color:rgba(255,255,255,.82)}
.cp-auth-checklist{display:grid;gap:12px}.cp-auth-checklist p{display:flex;align-items:center;gap:10px;margin:0;font-size:.86rem;color:rgba(255,255,255,.92)}.cp-auth-checklist p span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:rgba(255,255,255,.18);font-size:.72rem;font-weight:800;flex:none}
.cp-auth-brand-foot{margin:0;color:rgba(255,255,255,.72);font-size:.72rem;line-height:1.5}
.cp-auth-form-panel{display:flex;align-items:center;justify-content:center;padding:clamp(36px,7vw,84px) clamp(22px,6vw,76px);background:#fff;overflow-y:auto}.cp-auth-form-wrap{width:100%;max-width:480px}.cp-auth-form-head{margin-bottom:27px}.cp-auth-form-head h2{margin:8px 0 9px;color:#0b1220;font-size:clamp(1.65rem,3vw,2.1rem);line-height:1.15;letter-spacing:-.035em}.cp-auth-form-head>p:last-child{margin:0;color:#5b6472;font-size:.9rem;line-height:1.55}.cp-auth-form-panel form{display:grid;gap:15px;margin-top:0}.cp-auth-form-panel label{display:grid;gap:7px;color:#374151;font-size:.78rem;font-weight:800}.cp-auth-form-panel label small{color:#8b95a5;font-weight:500}.cp-auth-form-panel input{width:100%;padding:12px 14px;border:1.5px solid rgba(11,18,32,.13);border-radius:11px;background:#f8fafc;color:#0b1220;outline:none;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.cp-auth-form-panel input::placeholder{color:#9aa3af}.cp-auth-form-panel input:focus{border-color:#2563eb;background:#fff;box-shadow:0 0 0 4px rgba(37,99,235,.1)}.cp-auth-input-wrap{position:relative}.cp-auth-input-wrap input{padding-right:64px}.cp-auth-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#64748b;padding:6px;font:700 .72rem inherit;cursor:pointer}.cp-auth-eye:hover{color:#2563eb}.cp-auth-form-panel .cp-button{border-radius:12px;padding:13px 17px;font-size:.9rem}.cp-auth-form-panel .cp-button:not(.ghost){box-shadow:0 10px 24px rgba(37,99,235,.22);background:linear-gradient(90deg,#2563eb,#0d9488);color:#fff!important}.cp-auth-form-panel .cp-button.ghost{background:#fff;border:1.5px solid rgba(11,18,32,.15);color:#1f2937!important}.cp-auth-divider{display:flex;align-items:center;gap:12px;margin:20px 0 15px;color:#9aa3af;font-size:.75rem}.cp-auth-divider:before,.cp-auth-divider:after{content:"";height:1px;flex:1;background:rgba(11,18,32,.1)}.cp-auth-divider span{padding:0 3px}.cp-auth-note{margin:18px 0 0;padding:11px 13px;border-radius:10px;background:rgba(37,99,235,.06);border:1px solid rgba(37,99,235,.16);color:#4b6085;font-size:.78rem;line-height:1.45;text-align:center}.auth-page-active .cp-switch{margin:22px 0 0;text-align:center;color:#697586;font-size:.82rem}.auth-page-active .cp-switch a{color:#2563eb;font-weight:800;text-decoration:none}.auth-page-active .cp-switch a:hover{text-decoration:underline}
@media(max-width:780px){.cp-auth-layout{grid-template-columns:1fr}.cp-auth-brand{min-height:360px;padding:30px 24px;gap:24px}.cp-auth-brand-copy h1{font-size:2.15rem}.cp-auth-brand-foot{margin-top:auto}.cp-auth-form-panel{align-items:flex-start;padding:38px 22px 54px}.cp-auth-form-wrap{max-width:560px}}

/* BucksWall-inspired publisher dashboard. Scoped to the dashboard route only. */
body.dashboard-bucks-theme{background:#f4f6fb;color:#17233d}
body.dashboard-bucks-theme .premium-affiliate-shell{grid-template-columns:260px minmax(0,1fr);background:#f4f6fb;color:#17233d}
body.dashboard-bucks-theme .premium-affiliate-shell::after{display:none}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-sidebar{width:260px;padding:24px 14px 18px;background:#fff;border-right:1px solid #e5eaf3;box-shadow:8px 0 26px rgba(46,67,105,.06)}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-brand{margin:0 6px 24px;padding:2px 4px;min-height:46px}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-brand-copy strong{color:#192640;font-size:12px}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-brand-copy small{color:#8290a6;font-size:9px}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-brand-mark{width:38px;height:38px;flex-basis:38px;border:0;border-radius:12px;box-shadow:0 6px 14px rgba(55,117,231,.2)}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-nav-section>span{color:#8c98aa;font-size:9px;letter-spacing:.16em;font-weight:800}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-nav-link{min-height:42px;padding:10px 12px;border:1px solid transparent;border-radius:12px;color:#5d6b82;font-size:12px;box-shadow:none}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-nav-link:hover{background:#f7f8fc;color:#4d3ac2}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-nav-link.is-active{background:#f2edff;border-color:#ded5fb;color:#6546d9;box-shadow:none}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-nav-link.is-active i{color:#6546d9}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-sidebar-account{display:flex;align-items:center;gap:10px;margin:auto 0 12px;padding:13px 11px;border:1px solid #e7ebf3;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(48,68,105,.05)}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-sidebar-account>.premium-brand-mark{width:37px;height:37px;flex-basis:37px;border-radius:12px}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-sidebar-account>span:nth-child(2){min-width:0;display:grid;gap:3px}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-sidebar-account strong{display:block;max-width:135px;overflow:hidden;color:#273650;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-sidebar-account small{display:block;color:#91a0b5;font-size:9px}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-sidebar-account .premium-icon-button{margin-left:auto;width:28px;height:28px;border:0;background:#f5f1ff;color:#7455dc;font-size:13px}
body.dashboard-bucks-theme .premium-affiliate-shell .publisher-account-settings{color:#75839a;font-size:10px}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-topbar{min-height:68px;padding:13px 30px;background:#fff;border-bottom:1px solid #e7ebf3;box-shadow:none}
body.dashboard-bucks-theme .premium-affiliate-shell .publisher-panel-label{color:#1d2941;font-size:13px;font-weight:800}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-balance{display:flex;align-items:center;min-height:40px;padding:0 13px;border:1px solid #bfe9d4;border-radius:11px;background:#edfcf4}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-balance strong{padding:0!important;background:transparent!important;color:#159b68!important;font-size:12px}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-icon-button{border-color:#e3e8f1;background:#fff;color:#70809a}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-icon-button:hover{background:#f3efff;color:#6445d6;border-color:#d9cff9}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-account-chip{border:0;background:transparent;color:#71809a}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-account-chip>:first-child{background:linear-gradient(135deg,#6942dc,#2e9ceb);color:#fff}
body.dashboard-bucks-theme .premium-affiliate-shell .premium-content{max-width:1400px;padding:38px clamp(24px,3vw,48px) 58px;background:#f4f6fb}
body.dashboard-bucks-theme .premium-affiliate-shell .nixwall-page-heading{align-items:center;margin:0 0 25px}
body.dashboard-bucks-theme .premium-affiliate-shell .nixwall-page-heading h1{margin:0;color:#17233d;font-size:clamp(1.8rem,2.8vw,2.45rem);font-weight:850;letter-spacing:-.045em}
body.dashboard-bucks-theme .premium-affiliate-shell .nixwall-page-heading p{margin:8px 0 0;color:#8794a9;font-size:.79rem}
body.dashboard-bucks-theme .dashboard-heading-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body.dashboard-bucks-theme .dashboard-heading-meta span{padding:9px 12px;border:1px solid #e0e6f0;border-radius:999px;background:#fff;color:#748198;font-size:10px;font-weight:750;box-shadow:0 3px 9px rgba(50,70,110,.04)}
body.dashboard-bucks-theme .dashboard-heading-meta span:first-child{color:#52647f}
body.dashboard-bucks-theme .dashboard-range-picker{position:relative;z-index:5}
body.dashboard-bucks-theme .dashboard-range-button{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #dfe6f1;border-radius:999px;background:#fff;color:#5c6d87;font:750 10px/1 inherit;box-shadow:0 3px 9px rgba(50,70,110,.04);cursor:pointer}
body.dashboard-bucks-theme .dashboard-range-button:hover,body.dashboard-bucks-theme .dashboard-range-button[aria-expanded="true"]{border-color:#b9c9e7;color:#376fe1;background:#f8faff}
body.dashboard-bucks-theme .dashboard-range-menu{position:absolute;right:0;top:calc(100% + 8px);display:grid;min-width:145px;padding:6px;border:1px solid #dde5f1;border-radius:12px;background:#fff;box-shadow:0 14px 32px rgba(45,65,104,.18)}
body.dashboard-bucks-theme .dashboard-range-menu[hidden]{display:none}
body.dashboard-bucks-theme .dashboard-range-menu button{padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#61718a;font:750 10px/1.2 inherit;text-align:left;cursor:pointer}
body.dashboard-bucks-theme .dashboard-range-menu button:hover,body.dashboard-bucks-theme .dashboard-range-menu button.is-active{background:#edf3ff;color:#306ce4}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-chart-tab{cursor:pointer}
body.dashboard-bucks-theme .nixwall-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin-bottom:22px!important}
body.dashboard-bucks-theme .nixwall-metric-grid>article{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:17px;min-height:178px!important;padding:22px 23px!important;border:0!important;border-radius:18px!important;box-shadow:0 16px 28px rgba(49,73,123,.13)!important;color:#fff!important}
body.dashboard-bucks-theme .nixwall-metric-grid>article:nth-child(1){background:linear-gradient(135deg,#5864e9,#2e7cf3)!important}
body.dashboard-bucks-theme .nixwall-metric-grid>article:nth-child(2){background:linear-gradient(135deg,#25b482,#1cc98c)!important}
body.dashboard-bucks-theme .nixwall-metric-grid>article:nth-child(3){background:linear-gradient(135deg,#9d54eb,#7751ec)!important}
body.dashboard-bucks-theme .nixwall-metric-grid>article:nth-child(4){background:linear-gradient(135deg,#1caeaa,#25cbb8)!important}
body.dashboard-bucks-theme .nixwall-metric-grid>article:nth-child(5){background:linear-gradient(135deg,#f68a54,#ed4639)!important}
body.dashboard-bucks-theme .nixwall-metric-grid>article:nth-child(6){background:linear-gradient(135deg,#31acc8,#21c3da)!important}
body.dashboard-bucks-theme .nixwall-metric-grid .nixwall-metric-symbol{display:grid;place-items:center;width:43px;height:43px;flex-basis:43px;border:0;border-radius:13px;background:rgba(255,255,255,.22)!important;color:#fff!important;font-size:22px}
body.dashboard-bucks-theme .nixwall-metric-grid>article>div{width:100%}
body.dashboard-bucks-theme .nixwall-metric-grid small{color:rgba(255,255,255,.9)!important;font-size:11px!important;font-weight:750}
body.dashboard-bucks-theme .nixwall-metric-grid strong{margin-top:7px!important;color:#fff!important;font-size:27px!important;line-height:1.05!important}
body.dashboard-bucks-theme .nixwall-metric-grid em{display:block;margin-top:7px;color:rgba(255,255,255,.76);font-size:10px;font-style:normal}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-card{background:#fff!important;border:1px solid #e5eaf2!important;border-radius:18px!important;box-shadow:0 9px 22px rgba(51,73,114,.06)!important;color:#23324d!important}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-card-head{min-height:58px;padding:19px 20px 8px;border:0;background:transparent}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-card-head h2{color:#263650!important;font-size:14px!important;font-weight:800!important}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-card-head p{color:#8794a9!important;font-size:10px!important}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-chart{min-height:260px;padding:4px 20px 15px;background:transparent}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-chart-svg{height:270px!important}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-chart-svg polyline{stroke:#3b82f6;stroke-width:3}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-chart-svg circle{color:#3b82f6}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-chart-tabs{background:#f5f7fc;border-color:#e1e7f1}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-chart-tab{color:#76849b}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-chart-tab.is-active{background:#3e7ff2;color:#fff}
body.dashboard-bucks-theme .nixwall-dashboard-bottom{gap:16px!important;margin-top:18px!important}
body.dashboard-bucks-theme .nixwall-dashboard-bottom>article{min-height:265px!important}
body.dashboard-bucks-theme .nixwall-feed{min-height:150px;padding:12px 20px;color:#71809a;font-size:12px}
body.dashboard-bucks-theme .nixwall-feed b{color:#2a3954!important;font-size:12px!important}
body.dashboard-bucks-theme .nixwall-feed small{color:#8a97a9!important;font-size:10px!important}
body.dashboard-bucks-theme .nixwall-feed strong{color:#159b68!important;font-size:12px!important}
body.dashboard-bucks-theme .nixwall-feed>span{color:#8491a5}
body.dashboard-bucks-theme .nixwall-dashboard-bottom .premium-offer-access{color:#5b45d1!important;border:1px solid #ddd5f8!important;background:#f5f1ff!important}
body.dashboard-bucks-theme .nixwall-member-dashboard .premium-realtime-pill{color:#159b68!important;border-color:#bfe9d4!important;background:#edfcf4!important}
@media(max-width:900px){body.dashboard-bucks-theme .premium-affiliate-shell{grid-template-columns:minmax(0,1fr)}body.dashboard-bucks-theme .premium-affiliate-shell .premium-sidebar{width:260px}body.dashboard-bucks-theme .nixwall-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body.dashboard-bucks-theme .premium-affiliate-shell .premium-topbar{padding:11px 14px}body.dashboard-bucks-theme .premium-affiliate-shell .premium-content{padding:25px 14px 44px}body.dashboard-bucks-theme .nixwall-page-heading{align-items:flex-start!important;flex-direction:column;gap:13px}body.dashboard-bucks-theme .nixwall-metric-grid{grid-template-columns:1fr!important}.dashboard-heading-meta span{font-size:9px}}

/* BucksWall-inspired account settings. This scope only applies when the profile view is open. */
body.premium-portal-active:has(.cp-profile-grid){background:#f4f6fb;color:#17233d}
body.premium-portal-active:has(.cp-profile-grid) .premium-affiliate-shell{background:#f4f6fb;color:#17233d}
body.premium-portal-active:has(.cp-profile-grid) .premium-main{background:#f4f6fb}
body.premium-portal-active:has(.cp-profile-grid) .premium-topbar{background:#fff;border-bottom:1px solid #e5eaf3;box-shadow:none}
body.premium-portal-active:has(.cp-profile-grid) .publisher-panel-label{color:#1d2941}
body.premium-portal-active:has(.cp-profile-grid) .premium-content{max-width:1400px;padding:38px clamp(24px,3vw,48px) 58px;background:#f4f6fb}
body.premium-portal-active:has(.cp-profile-grid) .legacy-route-heading{margin:0 0 24px}
body.premium-portal-active:has(.cp-profile-grid) .legacy-route-heading h1{margin:0;color:#17233d;font-size:clamp(1.8rem,2.8vw,2.45rem);font-weight:850;letter-spacing:-.045em}
body.premium-portal-active:has(.cp-profile-grid) .legacy-route-heading p{margin:8px 0 0;color:#8794a9;font-size:.82rem}
.cp-profile-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.8fr);gap:18px;align-items:start}
.cp-profile-card{margin:0!important;padding:0!important;background:#fff!important;border:1px solid #e4e9f2!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(54,75,114,.07)!important;color:#263650!important;overflow:hidden}
.cp-profile-card .cp-panel-title{padding:19px 22px 14px;border-bottom:1px solid #e7ebf2}
.cp-profile-card .cp-panel-title h2{color:#1d2b45;font-size:15px}
.cp-profile-card .cp-panel-title p{color:#8a97a9;font-size:10px}
.cp-profile-card form{display:grid;gap:14px;margin:0;padding:20px 22px 22px}
.cp-profile-card label{color:#43536b;font-size:10px;font-weight:800}
.cp-profile-card label small{color:#95a0b0;font-weight:500}
.cp-profile-card input{padding:11px 12px;border:1px solid #d9e0ea;border-radius:9px;background:#f8fafc;color:#1f304a;font-size:12px}
.cp-profile-card input:focus{border-color:#7354e0;background:#fff;box-shadow:0 0 0 3px rgba(115,84,224,.11)}
.cp-profile-card input[readonly]{background:#f1f4f8;color:#71809a}
.cp-profile-card .cp-button{justify-self:start;border-radius:9px;background:linear-gradient(90deg,#7052e8,#8b3ee8);color:#fff!important;padding:10px 17px;font-size:11px;box-shadow:0 7px 16px rgba(106,67,226,.2)}
.cp-profile-badge,.cp-profile-lock{padding:6px 9px;border:1px solid #ddd5f8;border-radius:999px;background:#f5f1ff;color:#6b4ed7;font-size:9px;font-weight:800;text-transform:capitalize}
.cp-profile-lock{min-width:26px;text-align:center;border:0;background:#f0edff;font-size:14px}
.cp-profile-note{grid-column:1/-1;margin:0!important;padding:9px 11px;border-radius:9px;background:#f5f7fb;color:#7f8da1!important;font-size:10px!important;line-height:1.45}
.cp-profile-card form .cp-auth-input-wrap{width:100%}
.cp-profile-card .cp-auth-eye{color:#71809a;font-size:9px}
.cp-profile-card .cp-auth-eye:hover{color:#684ad3}
@media(max-width:900px){.cp-profile-grid{grid-template-columns:1fr}}
@media(max-width:600px){body.premium-portal-active:has(.cp-profile-grid) .premium-content{padding:25px 14px 44px}.cp-profile-card .cp-panel-title,.cp-profile-card form{padding-left:16px;padding-right:16px}.cp-profile-grid{gap:14px}}
/* Live reporting panels */
.report-metrics { margin-bottom: 18px; }
.report-performance { overflow: hidden; }
.report-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; align-items: end; min-height: 170px; padding: 20px 8px 12px; }
.report-bar-day { display: grid; grid-template-rows: 112px auto auto; gap: 5px; text-align: center; color: var(--cp-muted, #91a0bd); font-size: 12px; }
.report-bar-stack { display: flex; align-items: end; justify-content: center; gap: 5px; height: 112px; border-bottom: 1px solid rgba(146,166,204,.2); }
.report-bar-stack i, .report-bar-stack b { display: block; width: 12px; min-height: 4px; border-radius: 5px 5px 0 0; background: #4385ff; }
.report-bar-stack b { background: #22d3a5; }
.report-bar-day small { color: var(--cp-muted, #91a0bd); font-size: 10px; }
.report-row small { display: block; margin-top: 5px; }
.cp-inline-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.cp-inline-actions .cp-button { padding: 8px 10px; font-size: .72rem; white-space: nowrap; }
.cp-admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
@media (max-width: 760px) { .report-bars { gap: 5px; } .report-bar-stack i, .report-bar-stack b { width: 8px; } }

/* Admin control center: dedicated sidebar shell (keeps member balances out of admin UI). */
body.admin-control-active{--admin-sidebar-width:268px;background:#070b18;color:#eef4ff}
body.admin-control-active .topbar{position:fixed!important;inset:0 0 auto 0;height:74px;z-index:40;padding:12px 30px 12px calc(var(--admin-sidebar-width) + 30px);background:rgba(8,12,29,.96);border-bottom:1px solid #22355f;box-shadow:0 12px 32px rgba(0,0,0,.2)}
body.admin-control-active .topbar .brand{display:none}
body.admin-control-active .topbar #nav{position:fixed;inset:0 auto 0 0;width:var(--admin-sidebar-width);height:100vh;margin:0;padding:20px 14px 17px;display:block;background:linear-gradient(180deg,#0c1730 0%,#081022 100%);border-right:1px solid #243a68;box-shadow:14px 0 40px rgba(0,0,0,.18);overflow:hidden}
body.admin-control-active .topbar #nav .admin-sidebar{height:100%;display:flex;flex-direction:column;position:relative}
.admin-sidebar-brand{display:flex;align-items:center;gap:10px;padding:4px 8px 18px;border-bottom:1px solid rgba(91,122,180,.25)}
.admin-sidebar-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#38d9c1,#5d72ff);box-shadow:0 0 22px rgba(73,155,255,.25);flex:none}
.admin-sidebar-mark img{width:29px;height:29px;object-fit:contain}
.admin-sidebar-brand-copy{display:grid;gap:3px;min-width:0}
.admin-sidebar-brand-copy strong{font-size:14px;letter-spacing:-.03em;color:#f5f8ff;white-space:nowrap}
.admin-sidebar-brand-copy strong span{color:#59e4cd}
.admin-sidebar-brand-copy small{font-size:9px;letter-spacing:.17em;font-weight:800;color:#67e4cf}
.admin-sidebar-toggle{position:absolute;right:3px;top:8px;width:30px;height:30px;padding:0;border:1px solid #304b7b;border-radius:9px;background:#101f3e;color:#c7d6f1;font-size:20px;line-height:20px;cursor:pointer}
.admin-sidebar-toggle:hover{border-color:#62e5cf;color:#fff;background:#152952}
.admin-sidebar-links{display:grid;gap:6px;margin-top:21px;overflow:auto;padding-right:2px}
.admin-sidebar-links a,.admin-sidebar-foot a{display:flex;align-items:center;gap:11px;padding:11px 10px;border:1px solid transparent;border-radius:10px;color:#9fb1d4;text-decoration:none;font-size:.78rem;font-weight:750;transition:background .18s,border-color .18s,color .18s,transform .18s}
.admin-sidebar-links a i,.admin-sidebar-foot a i{width:20px;color:#79e5d0;font-style:normal;font-size:1rem;text-align:center;flex:none}
.admin-sidebar-links a:hover,.admin-sidebar-foot a:hover{color:#f7fbff;background:#122344;border-color:#294979;transform:translateX(2px)}
.admin-sidebar-links a.is-active{color:#fff;background:linear-gradient(90deg,rgba(71,215,193,.17),rgba(74,103,224,.2));border-color:#3c7e91;box-shadow:inset 3px 0 #5ce3cf}
.admin-sidebar-links a.is-active i{color:#a2f7e6}
.admin-sidebar-foot{margin-top:auto;padding-top:15px;border-top:1px solid rgba(91,122,180,.25)}
.admin-sidebar-foot a{font-size:.73rem;color:#a9badd}
body.admin-control-active .topbar .nav-actions{margin-left:auto;display:flex;align-items:center;gap:12px}
.admin-identity{display:grid;gap:2px;text-align:right;max-width:220px}
.admin-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f5f8ff;font-size:.8rem}
.admin-identity small{color:#6de5ce;font-size:.65rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800}
body.admin-control-active #app{min-height:100vh;padding:74px 0 0 var(--admin-sidebar-width)}
body.admin-control-active .cp-page{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:46px 0 80px}
body.admin-control-active .site-footer{display:none!important}
body.admin-sidebar-collapsed{--admin-sidebar-width:78px}
body.admin-sidebar-collapsed .admin-sidebar-brand{justify-content:center;padding-left:0;padding-right:0}
body.admin-sidebar-collapsed .admin-sidebar-brand-copy,body.admin-sidebar-collapsed .admin-sidebar-links a span,body.admin-sidebar-collapsed .admin-sidebar-foot a span{display:none}
body.admin-sidebar-collapsed .admin-sidebar-links a,body.admin-sidebar-collapsed .admin-sidebar-foot a{justify-content:center;padding-left:8px;padding-right:8px}
body.admin-sidebar-collapsed .admin-sidebar-links a i,body.admin-sidebar-collapsed .admin-sidebar-foot a i{width:auto;font-size:1.1rem}
body.admin-sidebar-collapsed .admin-sidebar-toggle{right:50%;transform:translateX(50%);top:58px}
body.admin-sidebar-collapsed .admin-sidebar-links{margin-top:52px}
@media(max-width:850px){body.admin-control-active{--admin-sidebar-width:78px}body.admin-control-active .topbar{padding-left:98px;padding-right:12px}body.admin-control-active .admin-sidebar-brand{justify-content:center;padding-left:0;padding-right:0}body.admin-control-active .admin-sidebar-brand-copy,body.admin-control-active .admin-sidebar-links a span,body.admin-control-active .admin-sidebar-foot a span{display:none}body.admin-control-active .admin-sidebar-links a,body.admin-control-active .admin-sidebar-foot a{justify-content:center;padding-left:8px;padding-right:8px}body.admin-control-active .admin-sidebar-toggle{right:50%;transform:translateX(50%);top:58px}body.admin-control-active .admin-sidebar-links{margin-top:52px}body.admin-control-active .cp-page{width:min(100% - 26px,1180px);padding-top:30px}.admin-identity{display:none}}

/* Admin overview dashboard */
.admin-overview-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 18px;padding:18px 20px;border:1px solid #274171;border-radius:16px;background:linear-gradient(120deg,rgba(20,40,76,.9),rgba(11,24,49,.72))}
.admin-overview-head h2{margin:7px 0 4px;font-size:1.3rem;letter-spacing:-.02em}.admin-overview-head p:last-child{margin:0;color:#9db0d2;font-size:.78rem}.admin-live-pill{display:inline-flex;align-items:center;gap:7px;color:#7af0cf;border:1px solid #2b826e;background:#102e32;border-radius:999px;padding:7px 11px;font-size:.72rem;font-weight:800;white-space:nowrap}.admin-live-pill i{width:7px;height:7px;border-radius:50%;background:#67edc6;box-shadow:0 0 0 4px rgba(103,237,198,.15)}
.admin-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 18px}.admin-overview-metric{position:relative;overflow:hidden;min-height:126px;padding:18px;border:1px solid #29436f;border-radius:15px;background:linear-gradient(145deg,#142440,#0e192f);box-shadow:0 12px 36px rgba(0,0,0,.16)}.admin-overview-metric:after{content:"";position:absolute;right:-28px;bottom:-35px;width:105px;height:105px;border-radius:50%;background:currentColor;opacity:.08}.admin-overview-metric span{display:block;color:#a9bbd9;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.admin-overview-metric strong{display:block;margin-top:13px;color:#f7fbff;font-size:1.65rem;letter-spacing:-.035em}.admin-overview-metric small{display:block;margin-top:7px;color:#8ea4ca;font-size:.7rem;line-height:1.35}.admin-overview-metric.blue{color:#5c9aff}.admin-overview-metric.green{color:#5ce3bd}.admin-overview-metric.violet{color:#b794ff}.admin-overview-metric.pink{color:#ff8eae}.admin-overview-metric.orange{color:#ffbc69}.admin-overview-metric.teal{color:#5ce5dd}.admin-overview-metric.cyan{color:#5bc9ff}.admin-overview-metric.indigo{color:#8d9cff}
.admin-performance-panel{margin-top:0}.admin-chart-legend{display:flex;gap:13px;color:#9eb1d2;font-size:.7rem;font-weight:700}.admin-chart-legend span{display:inline-flex;align-items:center;gap:5px}.admin-chart-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#4e8cff}.admin-chart-legend i.revenue{background:#39d6ad}.admin-trend-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:end;min-height:178px;padding:21px 8px 8px}.admin-trend-day{display:grid;grid-template-rows:125px auto auto;gap:5px;min-width:0;text-align:center}.admin-trend-bars{height:125px;display:flex;align-items:end;justify-content:center;gap:5px;border-bottom:1px solid rgba(142,169,214,.2)}.admin-trend-bars i,.admin-trend-bars b{display:block;width:13px;min-height:4px;border-radius:6px 6px 0 0;background:linear-gradient(#4f91ff,#2e63df);font-style:normal}.admin-trend-bars b{background:linear-gradient(#4ce0b5,#1ca383)}.admin-trend-day strong{color:#c9d7ef;font-size:.7rem}.admin-trend-day small{overflow:hidden;color:#8399bd;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.admin-performance-foot{display:flex;flex-wrap:wrap;gap:18px;margin:6px 0 0;padding-top:15px;border-top:1px solid rgba(117,145,191,.18);color:#8ea4c8;font-size:.74rem}.admin-performance-foot b{color:#eef7ff}.admin-overview-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-overview-columns .cp-panel{margin-top:0}.admin-provider-list{max-height:290px;overflow:auto}.admin-overview-columns .cp-panel-title>a{font-size:.7rem;padding:8px 10px}.admin-overview-columns .cp-admin-row{padding:11px}.admin-overview-columns .cp-admin-row small{display:none}
@media(max-width:1000px){.admin-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-overview-columns{grid-template-columns:1fr}}
@media(max-width:560px){.admin-overview-head{align-items:flex-start;flex-direction:column;padding:15px}.admin-overview-grid{grid-template-columns:1fr}.admin-trend-chart{gap:5px;padding-left:0;padding-right:0}.admin-trend-bars i,.admin-trend-bars b{width:9px}.admin-trend-day small{font-size:.55rem}.admin-chart-legend{display:none}.admin-performance-foot{gap:8px;justify-content:space-between;font-size:.65rem}}
 .cp-settings-fieldset { margin-top: 1.25rem; padding: 1rem; border: 1px solid rgba(123, 160, 220, .28); border-radius: 16px; background: rgba(7, 18, 43, .35); }
 .cp-settings-fieldset legend { padding: 0 .5rem; color: #7be7da; font-weight: 700; }
 .cp-settings-fieldset > .cp-muted { margin: 0 0 1rem; }
 .cp-settings-fieldset small { display: block; margin-top: .35rem; color: #91a6c8; }
 .cp-settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: .8rem; }
 @media (max-width: 900px) { .cp-settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
 @media (max-width: 620px) { .cp-settings-grid { grid-template-columns: 1fr; } }

/* Offer cards open the tracking-link form from any click, not only the CTA. */
.cp-offer[data-offer] { cursor: pointer; }
.cp-offer[data-offer]:focus-visible { outline: 3px solid #5edfc8; outline-offset: 3px; }
/* Keep the link form above the premium portal stacking/overflow context. */
.cp-modal { z-index: 9990 !important; }
.cp-modal { place-items: start center; overflow-y: auto; padding: clamp(24px, 8vh, 78px) 16px 24px; }
.cp-modal-card { z-index: 9991 !important; color: #eef4ff; margin: 0 auto; }
.cp-link-output + .cp-link-output { margin-top: 14px; }
.cp-link-output-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cp-link-output-actions .cp-button { flex: 0 1 auto; }
@media (max-width: 560px) { .cp-modal { padding: 16px 10px 22px; } .cp-link-output-actions .cp-button { flex: 1 1 100%; } }

/* BucksWall-style live campaign catalogue and tracking dialog. */
.cp-offer-browser { padding: 22px; }
.cp-offer-filters { display: grid !important; grid-template-columns: 1.6fr repeat(6, minmax(120px, 1fr)) auto !important; align-items: end; gap: 10px !important; margin: 20px 0 0 !important; }
.cp-offer-filters label { min-width: 0; }
.cp-offer-filters input, .cp-offer-filters select { min-width: 0; }
.cp-offer-filters .cp-check { display: flex !important; align-items: center; gap: 7px; white-space: nowrap; padding-bottom: 12px; }
.cp-offer-filters .cp-check input { width: auto; }
.cp-offer-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #263b65; border-radius: 14px; background: #081329; }
.cp-offer-table { width: 100%; min-width: 940px; border-collapse: separate; border-spacing: 0 7px; padding: 0 8px 7px; color: #dce8fb; font-size: .78rem; }
.cp-offer-table th { padding: 15px 12px 8px; color: #8299bf; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.cp-offer-table td { padding: 12px; border-top: 1px solid #1e355e; border-bottom: 1px solid #1e355e; background: linear-gradient(90deg,#0d1b36,#0b1730); vertical-align: middle; white-space: nowrap; }
.cp-offer-table td:first-child { border-left: 1px solid #1e355e; border-radius: 11px 0 0 11px; white-space: normal; min-width: 275px; }
.cp-offer-table td:last-child { border-right: 1px solid #1e355e; border-radius: 0 11px 11px 0; }
.cp-offer-row { cursor: pointer; transition: transform .16s ease, filter .16s ease; }
.cp-offer-row:hover td { border-color: #3d659d; filter: brightness(1.12); }
.cp-offer-name { display: flex; align-items: center; gap: 11px; min-width: 240px; }
.cp-offer-name img, .cp-offer-name .cp-offer-icon { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; flex: none; }
.cp-offer-name > div:last-child { display: grid; gap: 4px; min-width: 0; }
.cp-offer-title { overflow: hidden; border: 0; padding: 0; background: transparent; color: #edf5ff; font: inherit; font-size: .83rem; font-weight: 800; line-height: 1.25; text-align: left; text-overflow: ellipsis; cursor: pointer; }
.cp-offer-title:hover { color: #72f2cf; }
.cp-offer-name small, .cp-offer-provider { display: block; color: #839bc2; font-size: .68rem; }
.cp-offer-category, .cp-offer-fast { display: inline-block; margin-right: 5px; border: 1px solid #405a89; border-radius: 7px; padding: 4px 7px; color: #c5d6f4; font-size: .68rem; font-weight: 800; }
.cp-offer-fast { border-color: #267864; background: #102f2b; color: #74f3cc; }
.cp-offer-payout { display: block; color: #71edc9; font-size: .95rem; }
.cp-get-link { min-width: 92px; padding: 9px 12px; font-size: .74rem; }
.cp-offer-detail { width: min(640px, 100%); }
.cp-offer-detail-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.cp-offer-detail-facts > div { display: grid; gap: 5px; min-width: 0; padding: 10px; border: 1px solid #29446f; border-radius: 10px; background: #0a1730; }
.cp-offer-detail-facts small { color: #839bc2; font-size: .62rem; font-weight: 800; }
.cp-offer-detail-facts strong { color: #70efd0; font-size: .92rem; }
.cp-offer-detail-facts span { overflow: hidden; color: #d5e3f9; font-size: .72rem; text-overflow: ellipsis; }
.cp-tracking-domain { margin: 14px 0; }
.cp-tracking-domain select { background: #0b1932; }
@media (max-width: 1120px) { .cp-offer-filters { grid-template-columns: repeat(3, minmax(130px, 1fr)) !important; } .cp-offer-filters label:first-child { grid-column: span 2; } }
@media (max-width: 700px) { .cp-offer-filters { grid-template-columns: 1fr !important; } .cp-offer-filters label:first-child { grid-column: auto; } .cp-offer-detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 430px) { .cp-offer-detail-facts { grid-template-columns: 1fr; } }

/* Keep long country lists from stretching the table and pushing the CTA away. */
.cp-offer-table { table-layout: fixed; min-width: 980px; }
.cp-offer-table th:nth-child(1), .cp-offer-table td:nth-child(1) { width: 31%; }
.cp-offer-table th:nth-child(2), .cp-offer-table td:nth-child(2) { width: 14%; }
.cp-offer-table th:nth-child(3), .cp-offer-table td:nth-child(3) { width: 16%; }
.cp-offer-table th:nth-child(4), .cp-offer-table td:nth-child(4) { width: 13%; }
.cp-offer-table th:nth-child(5), .cp-offer-table td:nth-child(5) { width: 13%; }
.cp-offer-table th:nth-child(6), .cp-offer-table td:nth-child(6) { width: 10%; }
.cp-offer-table th:nth-child(7), .cp-offer-table td:nth-child(7) { width: 13%; }
.cp-offer-table td:nth-child(n+2) { overflow: hidden; text-overflow: ellipsis; }
.cp-offer-table td.cp-offer-countries, .cp-offer-table td.cp-offer-devices { white-space: normal; }
.cp-offer-action { text-align: right; }
.cp-get-link { width: 100%; min-width: 96px; }
.cp-country-list { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; max-width: 100%; vertical-align: middle; }
.cp-country-badge { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #355281; border-radius: 7px; padding: 3px 5px; background: #10203e; color: #dce9ff; font-size: .68rem; line-height: 1; }
.cp-country-badge i { font-style: normal; font-size: .85rem; }
.cp-country-badge b { font-size: .65rem; letter-spacing: .03em; }
.cp-country-more { display: inline-grid; place-items: center; min-width: 25px; height: 22px; border-radius: 7px; background: #1a315a; color: #91b5e8; font-size: .68rem; font-weight: 800; }
.cp-offer-detail { width: min(820px, 100%); padding: clamp(25px, 4vw, 38px); }
.cp-offer-detail-hero { display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: start; padding-right: 24px; }
.cp-offer-detail-icon { width: 74px; height: 74px; display: grid; place-items: center; overflow: hidden; border: 1px solid #3d5f94; border-radius: 18px; background: #0b1b39; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.cp-offer-detail-icon img, .cp-offer-detail-icon .cp-offer-icon { width: 100%; height: 100%; object-fit: cover; }
.cp-offer-detail-hero h2 { margin: 5px 0 10px; font-size: clamp(1.35rem, 3vw, 2rem); }
.cp-offer-detail-hero .cp-muted { max-width: 650px; margin: 0; }
.cp-offer-detail-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 25px 0; }
.cp-offer-detail-facts .cp-country-list { gap: 3px; }
.cp-offer-detail-facts .cp-country-badge { padding: 3px 4px; }
.cp-offer-reward-fact { background: linear-gradient(145deg, #123d3a, #0b2a2d) !important; border-color: #2b8d79 !important; }
.cp-offer-reward-fact strong { font-size: 1.25rem !important; }
.cp-offer-detail form { margin-top: 20px; }
@media (max-width: 700px) { .cp-offer-detail { padding: 22px 17px; } .cp-offer-detail-hero { grid-template-columns: 58px 1fr; gap: 12px; } .cp-offer-detail-icon { width: 58px; height: 58px; border-radius: 14px; } .cp-offer-detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Tracking dialog: keep the provider-style URL field and Sub ID controls aligned. */
.cp-offer-detail { width: min(760px, 100%); max-height: min(90vh, 760px); overflow-y: auto; }
.cp-offer-detail .cp-tracking-domain { margin: 20px 0 14px; }
.cp-offer-detail .cp-tracking-domain label { display: grid; gap: 7px; }
.cp-offer-detail .cp-tracking-domain select { min-height: 44px; }
.cp-link-intro { margin: 0 0 17px; font-size: .82rem; }
.cp-offer-detail #link-form { display: grid; gap: 14px; margin-top: 0; }
.cp-subid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cp-subid-grid label, .cp-offer-detail #link-form > label { display: grid; gap: 7px; min-width: 0; }
.cp-offer-detail #link-form input { min-width: 0; }
.cp-link-placeholder { padding: 14px; border: 1px dashed #38527f; border-radius: 11px; color: #91a6c9; font-size: .78rem; line-height: 1.45; }
.cp-generated { display: grid; gap: 12px; margin-top: 18px; padding: 14px; border-radius: 13px; background: #0a1730; border: 1px solid #31517f; }
.cp-link-output { display: grid; gap: 8px; padding: 12px; border: 1px solid #263f6d; border-radius: 11px; background: #0d1c38; }
.cp-link-output-primary { border-color: #2b8d79; background: linear-gradient(145deg, #103431, #0c2231); }
.cp-output-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cp-output-head label { display: block !important; color: #edf5ff !important; font-size: .8rem !important; }
.cp-output-head span { color: #73efd0; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.cp-link-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.cp-link-field input { min-width: 0; height: 42px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .76rem; }
.cp-link-field .cp-button { height: 42px; min-width: 78px; padding: 9px 13px; font-size: .74rem; }
.cp-link-open { color: #8eb8ff; font-size: .72rem; font-weight: 700; text-decoration: none; }
.cp-link-open:hover { text-decoration: underline; }
@media (max-width: 620px) { .cp-subid-grid { grid-template-columns: 1fr; } .cp-link-field { grid-template-columns: 1fr; } .cp-link-field .cp-button { width: 100%; } }
