body.agent-v2 #money-navigation{display:none!important}body.agent-v2 #money-app{grid-template-rows:minmax(0,1fr)!important;gap:0!important}
body.agent-v2 #agent-menu-toggle{min-width:44px;min-height:44px;font-size:22px;background:#302339;color:#f0dff8;border:1px solid #5d426d;padding:4px 8px;flex-shrink:0;order:-1}
body.agent-v2 #agent-drawer-shade{position:fixed;inset:0;width:100%;height:100%;z-index:199;background:#08050dbb;border:0;border-radius:0}
body.agent-v2 #agent-drawer{position:fixed;inset:0 auto 0 0;width:min(310px,88%);max-width:100%;background:#21172c;color:#f5eef9;border-right:1px solid #755287;z-index:200;display:flex;flex-direction:column;box-shadow:12px 0 45px #0005}
body.agent-v2 #agent-drawer[hidden],body.agent-v2 #agent-drawer-shade[hidden]{display:none!important}
body.agent-v2 .agent-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;border-bottom:1px solid #51385c}
body.agent-v2 .agent-drawer-head small{display:block;color:#bca7cb;font-size:11px}
body.agent-v2 #agent-drawer nav{display:grid;align-content:start;gap:1px;padding:6px 9px;overflow:auto;min-height:0}
body.agent-v2 #agent-drawer nav button,body.agent-v2 #agent-drawer nav a{display:flex;align-items:center;width:100%;min-height:44px;background:transparent;border:0;border-radius:9px;text-align:left;padding:9px 12px!important;font-size:13px!important;color:#e9dcef;text-decoration:none;box-sizing:border-box}
body.agent-v2 #agent-drawer nav button.active{background:#4a2f5d;color:#f0d8ff}
body.agent-v2 #agent-drawer hr{width:100%;border:0;border-top:1px solid #51385c;margin:6px 0}
body.agent-v2 #agent-drawer-close{min-width:44px;font-size:23px;background:transparent;border:0}
body.agent-v2 .agent-workspace-screen{overflow:hidden}body.agent-v2 .agent-workspace-content{min-height:0;flex:1;overflow:auto}
body.agent-v2 .agent-report-values{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;margin:0}
body.agent-v2 .agent-report-values dt,body.agent-v2 .agent-report-values dd{margin:0;padding:12px 0;border-bottom:1px solid #493452;font-size:13px}
body.agent-v2 .agent-report-values dd{font-variant-numeric:tabular-nums;color:#e9d1a2;text-align:right}
body.agent-v2 .agent-v2-person .agent-v2-minus{width:70px;min-height:44px!important;font-size:12px!important;font-weight:500;background:transparent!important}
body.agent-v2 .agent-v2-person{grid-template-columns:minmax(100px,1fr) 120px 70px 85px 105px}
body.agent-v2 .agent-v2-person .agent-v2-plus{font-size:13px!important;width:85px}
body.agent-v2 #money-main{gap:8px!important}
body.agent-v2 .agent-v2-list{gap:5px}
body.agent-v2 .agent-v2-person{padding:7px 10px;min-height:64px;border-radius:12px}
body.agent-v2 .agent-v2-heading h1{font-size:20px!important}
body.agent-v2 .agent-v2-players{padding:10px;gap:7px}
body.agent-v2 .agent-load-filters{padding-bottom:5px}
body.agent-v2 .agent-v2-heading small{display:none}
body.agent-v2 .agent-v2-aside{display:none!important}body.agent-v2 .agent-v2-workspace{grid-template-columns:minmax(0,1fr)}
body.agent-v2 .agent-v2-players .affiliate-toolbar{gap:6px}
@media(max-width:700px){
body.agent-v2:not(.is-signed-out){grid-template-rows:68px minmax(0,1fr)!important}
body.agent-v2:not(.is-signed-out)>header{height:68px!important;min-height:68px!important;padding:6px 9px!important;gap:7px}
body.agent-v2:not(.is-signed-out)>header>img{display:none!important}
body.agent-v2:not(.is-signed-out)>main{padding:9px 9px max(9px,env(safe-area-inset-bottom,0px))!important}
body.agent-v2 .agent-v2-person{grid-template-columns:minmax(0,1fr) 66px 78px;grid-template-rows:34px 44px;gap:3px 5px;padding:6px 8px}
body.agent-v2 .agent-v2-person .agent-v2-identity{grid-column:1/3;grid-row:1;display:flex!important;align-items:center;gap:5px!important;min-height:34px!important}
body.agent-v2 .agent-v2-identity strong{font-size:12px}body.agent-v2 .agent-v2-identity small{font-size:10px}
body.agent-v2 .agent-v2-balance{grid-column:3;grid-row:1;font-size:12px}
body.agent-v2 .agent-v2-person input{grid-column:1;grid-row:2;min-height:44px!important;height:44px;padding:8px!important}
body.agent-v2 .agent-v2-person .agent-v2-minus{grid-column:2;grid-row:2;width:66px;height:44px;min-height:44px!important;font-size:12px!important}
body.agent-v2 .agent-v2-person .agent-v2-plus{grid-column:3;grid-row:2;width:78px;height:44px;min-height:44px!important;font-size:13px!important}
body.agent-v2 .agent-workspace-content .affiliate-toolbar{flex-wrap:nowrap;margin-bottom:9px}body.agent-v2 .agent-workspace-content .affiliate-toolbar input{min-width:0!important;width:100%}body.agent-v2 .agent-workspace-content .affiliate-toolbar select{max-width:110px;font-size:13px!important}
body.agent-v2 .money-wallet strong{font-size:17px!important}body.agent-v2 .money-wallet{padding:5px 7px!important}
}
@media(prefers-reduced-motion:no-preference){body.agent-v2 #agent-drawer{animation:agent-drawer-in .18s ease-out}@keyframes agent-drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}}

body.agent-v2 .agent-v2-players .agent-v2-list{flex:0 1 auto;overflow:auto}body.agent-v2 .agent-v2-players .affiliate-pager{margin-top:2px}

body.agent-v2 .agent-ui-icon{width:17px;height:17px;flex:0 0 17px;vertical-align:middle;pointer-events:none}body.agent-v2 #agent-drawer nav :is(button,a){gap:11px}body.agent-v2 #agent-menu-toggle .agent-ui-icon,body.agent-v2 #agent-drawer-close .agent-ui-icon{width:21px;height:21px}body.agent-v2 .agent-v2-person :is(.agent-v2-plus,.agent-v2-minus){display:inline-flex;align-items:center;justify-content:center;gap:4px}body.agent-v2 :is(#agent-create-player,#agent-invite-shortcut){display:inline-flex;align-items:center;justify-content:center;gap:5px}@media(max-width:360px){body.agent-v2 .agent-v2-person .agent-ui-icon{width:13px;height:13px;flex-basis:13px}}

/* Consistent alignment for labels, controls and numeric values. */
body.agent-v2 #agent-drawer nav :is(button,a){display:grid!important;grid-template-columns:20px minmax(0,1fr);column-gap:11px;align-items:center;line-height:1.3}
body.agent-v2 #agent-drawer nav .agent-ui-icon{justify-self:center;align-self:center}
body.agent-v2 .agent-v2-person{align-items:center}
body.agent-v2 .agent-v2-person .agent-v2-identity{margin:0!important;text-align:left!important;justify-content:flex-start;min-width:0}
body.agent-v2 .agent-v2-identity strong,body.agent-v2 .agent-v2-identity small{line-height:1.3}
body.agent-v2 .agent-v2-balance{justify-self:end;align-self:center;text-align:right;font-variant-numeric:tabular-nums;line-height:1.3;margin:0}
body.agent-v2 .agent-v2-person input{box-sizing:border-box;align-self:center;text-align:right!important;font-variant-numeric:tabular-nums;margin:0!important;line-height:1.2}
body.agent-v2 .agent-v2-person :is(.agent-v2-plus,.agent-v2-minus){box-sizing:border-box;align-self:center;margin:0!important;padding:6px!important;line-height:1.2;border-width:1px!important}
body.agent-v2 .agent-load-filters label{display:flex;align-items:center;gap:8px}body.agent-v2 .agent-load-filters label select{margin:0!important}
body.agent-v2 .agent-report-values :is(dt,dd){display:flex;align-items:center;min-height:46px;line-height:1.4}body.agent-v2 .agent-report-values dd{justify-content:flex-end}
@media(max-width:700px){body.agent-v2 .agent-v2-person{grid-template-columns:minmax(0,1fr) 68px 80px;grid-template-rows:36px 44px;column-gap:6px;row-gap:4px;padding:7px 9px}body.agent-v2 .agent-v2-person .agent-v2-identity{grid-column:1/3;grid-row:1;min-height:36px!important}body.agent-v2 .agent-v2-balance{grid-column:3;grid-row:1}body.agent-v2 .agent-v2-person input{height:44px!important;min-height:44px!important}body.agent-v2 .agent-v2-person .agent-v2-minus{width:68px!important;height:44px!important;min-height:44px!important}body.agent-v2 .agent-v2-person .agent-v2-plus{width:80px!important;height:44px!important;min-height:44px!important}}

body.agent-v2 .agent-load-filters[hidden]{display:none!important}body.agent-v2 .agent-v2-players .affiliate-toolbar{display:flex;align-items:center;flex-wrap:nowrap;gap:6px}body.agent-v2 .agent-v2-players .affiliate-toolbar input{flex:1;min-width:0!important;width:0;min-height:44px!important}body.agent-v2 #agent-refresh-list{flex:0 0 44px;width:44px;min-height:44px;padding:0;font-size:20px}body.agent-v2 #agent-invite-shortcut{flex-shrink:0;min-height:44px!important;padding:8px!important}

body.agent-v2 .agent-create-actions{display:flex;align-items:center;gap:6px}body.agent-v2 .agent-create-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px!important;padding:8px 10px!important;font-size:12px!important;white-space:nowrap}body.agent-v2 .agent-v2-heading{flex-wrap:wrap;gap:7px}body.agent-v2 .agent-create-actions .agent-ui-icon{width:15px;height:15px;flex-basis:15px}@media(max-width:430px){body.agent-v2 .agent-v2-heading{display:grid;grid-template-columns:1fr}body.agent-v2 .agent-create-actions{display:grid;grid-template-columns:1fr 1fr}body.agent-v2 .agent-v2-heading h1{font-size:18px!important}}

/* Header uses one shared alignment grid. */
body.agent-v2:not(.is-signed-out)>header{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto 44px!important;grid-template-rows:44px!important;align-items:center!important;column-gap:8px!important;box-sizing:border-box}
body.agent-v2:not(.is-signed-out)>header>img{display:none!important}
body.agent-v2 #agent-menu-toggle{grid-column:1;grid-row:1;position:static!important;align-self:center!important;margin:0!important;width:44px;height:44px;min-height:44px!important}
body.agent-v2:not(.is-signed-out)>header>div{grid-column:2;grid-row:1;margin:0!important;max-width:none!important;min-width:0;align-self:center;transform:translateY(-6px)}
body.agent-v2:not(.is-signed-out)>header>div small{display:none!important}
body.agent-v2:not(.is-signed-out)>header>div b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px!important;line-height:1.3}
body.agent-v2 #money-wallets{grid-column:3;grid-row:1;position:static!important;align-self:center!important;margin:0!important;padding:0!important;transform:none!important}
body.agent-v2 #money-wallets .money-wallet{margin:0!important;min-height:44px;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}
body.agent-v2 #money-wallets .money-wallet small{line-height:1.2;margin:0;font-size:8px!important}body.agent-v2 #money-wallets .money-wallet strong{line-height:1.2;margin:2px 0 0!important;font-variant-numeric:tabular-nums}
body.agent-v2 #cash-connection{grid-column:2;grid-row:1;position:static!important;align-self:end!important;justify-self:start!important;max-width:100%!important;margin:0 0 3px!important;padding:0!important;transform:none!important;font-size:9px!important;line-height:1.2!important;white-space:nowrap!important}
body.agent-v2 #site-notice-inbox{grid-column:4;grid-row:1;position:static!important;align-self:center!important;justify-self:end!important;margin:0!important;width:44px;min-width:44px;height:44px;min-height:44px!important;padding:4px!important;font-size:10px!important}

/* Compact paired actions: primary load and secondary remove. */
body.agent-v2 .agent-v2-person .agent-v2-plus{background:#cfb6f5!important;color:#28163a!important;border:1px solid #e1cafa!important;border-radius:12px!important;font-weight:650!important;box-shadow:0 2px 5px #0002;letter-spacing:-.15px}
body.agent-v2 .agent-v2-person .agent-v2-minus{background:#251d2d!important;color:#e6d5ed!important;border:1px solid #70577d!important;border-radius:12px!important;font-weight:500!important;box-shadow:none;letter-spacing:-.15px}
body.agent-v2 .agent-v2-person :is(.agent-v2-plus,.agent-v2-minus) .agent-ui-icon{stroke-width:1.9;width:15px;height:15px;flex-basis:15px}
body.agent-v2 .agent-v2-person :is(.agent-v2-plus,.agent-v2-minus):disabled{opacity:.45;box-shadow:none;cursor:default}
body.agent-v2 .agent-v2-person :is(.agent-v2-plus,.agent-v2-minus):active:not(:disabled){transform:translateY(1px);filter:brightness(.94)}
@media(hover:hover){body.agent-v2 .agent-v2-person .agent-v2-plus:hover:not(:disabled){background:#ddc8fa!important}body.agent-v2 .agent-v2-person .agent-v2-minus:hover:not(:disabled){background:#38283f!important;border-color:#aa83ba!important}}
@media(prefers-reduced-motion:no-preference){body.agent-v2 .agent-v2-person :is(.agent-v2-plus,.agent-v2-minus){transition:background .15s,border-color .15s,box-shadow .15s}}

body.agent-v2 #agent-load-status{font-size:11px!important;line-height:1.35;color:#b6d9c5;padding:2px 0;margin:0;background:none;border:0;box-shadow:none}

body.agent-v2:not(.is-signed-out)>header>div.agent-header-identity{transform:none!important;align-self:start!important;padding-top:1px;display:grid;gap:1px}body.agent-v2:not(.is-signed-out)>header>div.agent-header-identity b{font-size:12px!important;font-weight:650;line-height:1.25!important}body.agent-v2:not(.is-signed-out)>header>div.agent-header-identity small.agent-header-id{display:block!important;color:#c9b3d6;font-size:10px!important;line-height:1.2;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.agent-v2 #cash-connection{font-size:8px!important;margin-bottom:0!important}

/* Approved compact player list: eight entries per page, larger balances. */
body.agent-v2 .agent-v2-list{gap:0!important;grid-auto-rows:min-content!important}
body.agent-v2 .agent-v2-person{border:0!important;border-bottom:1px solid #493452!important;border-radius:0!important;background:transparent!important;min-height:0!important;padding:4px 0 5px!important}
body.agent-v2 .agent-v2-balance{font-size:18px!important;font-weight:650;letter-spacing:-.4px;color:#b7e7cd}
body.agent-v2 .agent-v2-players{padding:8px!important;gap:6px!important}
body.agent-v2 .agent-v2-person .agent-v2-identity strong{font-size:12px!important}
body.agent-v2 .agent-v2-players .affiliate-pager{margin-top:1px;font-size:11px}
@media(max-width:700px){body.agent-v2 .agent-v2-person{grid-template-columns:minmax(0,1fr) 67px 79px!important;grid-template-rows:26px 44px!important;gap:0 5px!important}body.agent-v2 .agent-v2-person .agent-v2-identity{grid-column:1;grid-row:1;min-height:26px!important;height:26px;gap:4px!important}body.agent-v2 .agent-v2-balance{grid-column:2/4;grid-row:1;align-self:center;justify-self:end;font-size:18px!important}body.agent-v2 .agent-v2-person input{grid-column:1;grid-row:2;height:44px!important;min-height:44px!important}body.agent-v2 .agent-v2-person .agent-v2-minus{grid-column:2;grid-row:2;width:67px!important;height:44px!important}body.agent-v2 .agent-v2-person .agent-v2-plus{grid-column:3;grid-row:2;width:79px!important;height:44px!important}}
@media(max-width:350px){body.agent-v2 .agent-v2-balance{font-size:17px!important}}

/* Balanced header and consistent account overview. */
body.agent-v2:not(.is-signed-out)>header{height:64px!important;min-height:64px!important;padding:8px 10px!important;grid-template-rows:48px!important;column-gap:8px!important}
body.agent-v2:not(.is-signed-out){grid-template-rows:64px minmax(0,1fr)!important}
body.agent-v2 #agent-menu-toggle,body.agent-v2 #site-notice-inbox,body.agent-v2 #money-wallets{align-self:center!important}
body.agent-v2:not(.is-signed-out)>header>div.agent-header-identity{align-self:center!important;gap:2px;padding:0!important;min-height:0;transform:none!important}
body.agent-v2:not(.is-signed-out)>header>div.agent-header-identity b{margin:0!important;padding:0!important;font-size:13px!important;line-height:16px!important;min-height:0}
body.agent-v2:not(.is-signed-out)>header>div.agent-header-identity small.agent-header-id{padding-left:11px;margin:0!important;line-height:12px!important;font-size:10px!important}
body.agent-v2 #cash-connection{width:6px!important;height:6px!important;min-height:6px!important;font-size:0!important;overflow:hidden;align-self:center!important;transform:translateY(9px)!important;gap:0!important;margin:0!important}
body.agent-v2 #cash-connection:before{width:6px;height:6px;flex:0 0 6px}
body.agent-v2 #money-wallets .money-wallet{min-width:88px;min-height:44px;padding:5px 9px!important;text-align:right;border-radius:12px!important}
body.agent-v2 #money-wallets .money-wallet strong{font-size:18px!important}
body.agent-v2 .agent-account-summary{border:1px solid #51385e;border-radius:13px;padding:12px;margin-bottom:8px;background:#21172b;flex-shrink:0}
body.agent-v2 .agent-account-summary h1{font-size:19px!important;margin:0 0 10px!important}
body.agent-v2 .agent-account-summary dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 12px;margin:0;font-size:12px}
body.agent-v2 .agent-account-summary dt{color:#c5afcf}body.agent-v2 .agent-account-summary dd{margin:0;text-align:right;overflow-wrap:anywhere}
body.agent-v2 .affiliate-screen h1,body.agent-v2 .affiliate-heading h1{letter-spacing:-.4px}
body.agent-v2 .affiliate-form label{min-width:0}body.agent-v2 .affiliate-form input{box-sizing:border-box}
@media(max-width:350px){body.agent-v2:not(.is-signed-out)>header{column-gap:6px!important;padding-left:8px!important;padding-right:8px!important}body.agent-v2 #money-wallets .money-wallet{min-width:80px;padding:5px 7px!important}body.agent-v2 #money-wallets .money-wallet strong{font-size:17px!important}}

/* Plain, wrapping agent feedback without decorative boxes. */
body[data-portal-role=agent]:not(.is-signed-out) #money-status,body.agent-v2 #agent-load-status,body.agent-v2 .agent-workspace-status,body.agent-v2 .affiliate-form [role=status],body.agent-v2 .agent-operation-dialog [role=status]{background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;padding:3px 0!important;margin:0 0 5px!important;font-size:12px!important;font-weight:400!important;line-height:1.4!important;color:#e3c7d8!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;max-width:100%;min-height:0!important;height:auto!important}
body.agent-v2 #money-status:empty,body.agent-v2 #agent-load-status:empty,body.agent-v2 .agent-workspace-status:empty,body.agent-v2 .affiliate-form [role=status]:empty{display:none!important}
