/* Agent presentation only. Existing operations and permissions are preserved. */
body.agent-v2:not(.is-signed-out){background:#100d17!important;color:#f6f0fb}
body.agent-v2:not(.is-signed-out)>header{border-bottom:1px solid #3d2d49;background:#1b1424;gap:12px}
body.agent-v2 .money-wallet{background:#2a1d36!important;border:1px solid #59416a!important;border-radius:13px!important;padding:8px 13px!important}
body.agent-v2 .money-wallet strong{font-variant-numeric:tabular-nums;color:#f1dba9!important}
body.agent-v2 #money-main{gap:14px!important}
body.agent-v2 .agent-v2-heading h1{font-size:23px!important;letter-spacing:-.6px}
body.agent-v2 .agent-v2-heading>button{background:#bd83df!important;color:#24132d!important;border:1px solid #d6a2f0!important;border-radius:12px;font-weight:700;font-size:12px!important}
body.agent-v2 .affiliate-screen{background:#1b1523;border:1px solid #493552;border-radius:17px;padding:16px;box-shadow:none}
body.agent-v2 .agent-v2-workspace{gap:16px}
body.agent-v2 input:not([type=checkbox]),body.agent-v2 select{background:#120f1a;color:#f7f0fc;border:1px solid #61466f;border-radius:11px;min-height:46px!important}
body.agent-v2 button{border-radius:11px;min-height:44px}
body.agent-v2 :is(button,a,input,select):focus-visible{outline:2px solid #d8acf2;outline-offset:2px}
body.agent-v2 .agent-load-filters{padding:0 0 10px;border-bottom:1px solid #46324f}
body.agent-v2 .agent-v2-list{align-content:start;grid-auto-rows:min-content;gap:10px;overflow:auto}
body.agent-v2 .agent-v2-person{background:#251c2f;border:1px solid #533b61;border-left:3px solid #80d5aa;padding:12px;border-radius:14px;max-height:none;min-height:76px}
body.agent-v2 .agent-v2-person.red{border-left-color:#ef9aab}body.agent-v2 .agent-v2-person.yellow{border-left-color:#ead080}
body.agent-v2 .agent-v2-identity strong{font-size:14px}body.agent-v2 .agent-v2-identity small{font-size:11px}
body.agent-v2 .agent-v2-balance{font-size:15px;font-variant-numeric:tabular-nums}
body.agent-v2 .agent-preparation-bar{background:#2e271c;border:1px solid #675238;color:#e5d3ad;border-radius:12px;padding:8px 11px;font-size:11px}
body.agent-v2 .agent-preparation-bar button{background:transparent;border-color:#796442;color:#f2dfb7}
body.agent-v2 .agent-v2-aside article{padding:13px 0}body.agent-v2 .agent-v2-aside article small{font-size:11px;line-height:1.5}
body.agent-v2 #agent-rtp-access{display:flex!important;align-items:center;min-height:44px;line-height:1.4}
@media(max-width:700px){
body.agent-v2:not(.is-signed-out){grid-template-rows:76px minmax(0,1fr)!important}
body.agent-v2:not(.is-signed-out)>header{height:76px!important;min-height:76px!important;padding:8px 12px!important}
body.agent-v2:not(.is-signed-out)>main{padding:12px 12px calc(80px + env(safe-area-inset-bottom,0px))!important}
body.agent-v2 #money-main{gap:11px!important}
body.agent-v2 .agent-v2-heading h1{font-size:21px!important}
body.agent-v2 .affiliate-screen{padding:12px;border-radius:16px}
body.agent-v2 #money-navigation{width:100%;box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr))!important;background:#1b1424!important;padding:7px 9px calc(7px + env(safe-area-inset-bottom,0px))!important;border-top:1px solid #60436f}
body.agent-v2 #money-navigation>button,body.agent-v2 .agent-more-menu{background:transparent!important;border:0!important;border-radius:11px}
body.agent-v2 #money-navigation>button.active{background:#3b2549!important;color:#f1d7ff;border:1px solid #af79cb!important}
body.agent-v2 .agent-more-menu>summary{background:transparent!important;border:0;min-height:48px!important}
body.agent-v2 .agent-v2-person{grid-template-columns:minmax(0,1fr) 50px 65px;grid-template-rows:auto 46px;gap:10px 7px;padding:12px}
body.agent-v2 .agent-v2-person .agent-v2-identity{grid-column:1/3;grid-row:1;display:block!important;min-height:38px!important}
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:46px!important;height:46px;font-size:16px!important;padding:10px!important}
body.agent-v2 .agent-v2-person .agent-v2-minus{grid-column:2;grid-row:2;width:50px;height:46px;min-height:46px!important}
body.agent-v2 .agent-v2-person .agent-v2-plus{grid-column:3;grid-row:2;width:65px;height:46px;min-height:46px!important}
body.agent-v2 .affiliate-toolbar{gap:8px}body.agent-v2 .affiliate-toolbar input{min-width:0!important;width:100%;font-size:16px!important}
body.agent-v2 .agent-more-options{max-width:calc(100vw - 24px);box-sizing:border-box;border-radius:14px!important}
body.agent-v2 .agent-history-filters{gap:10px}body.agent-v2 .affiliate-row{border-radius:13px;padding:12px}
body.agent-v2 dialog{max-width:calc(100% - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto;box-sizing:border-box}
}
@media(max-width:360px){body.agent-v2:not(.is-signed-out)>main{padding-left:9px!important;padding-right:9px!important}body.agent-v2 .affiliate-screen{padding:9px}body.agent-v2 .agent-v2-person{padding:9px;gap:8px 5px}body.agent-v2 .agent-v2-identity strong{font-size:12px}body.agent-v2 .money-wallet{padding:6px 8px!important}}

/* Quick load: one primary action; withdrawal remains in the player detail. */
body.agent-v2 .agent-v2-person{grid-template-columns:minmax(100px,1fr) 120px 90px 105px}
body.agent-v2 .agent-v2-person .agent-v2-plus{width:90px;min-height:46px!important;height:46px;font-size:13px!important;font-weight:700}
body.agent-v2 .agent-detail-withdraw{display:flex;align-items:end;gap:8px;padding:12px 0;border-top:1px solid #5e446d;margin-top:12px}
body.agent-v2 .agent-detail-withdraw label{flex:1;min-width:0;font-size:12px}body.agent-v2 .agent-detail-withdraw input{width:100%;min-width:0;font-size:16px!important}
body.agent-v2 #agent-menu-preparation{background:transparent!important;border:0!important;font-size:12px!important;text-align:left;padding:10px!important}
@media(max-width:700px){body.agent-v2 .agent-v2-person{grid-template-columns:minmax(0,1fr) 96px;grid-template-rows:auto 48px}
body.agent-v2 .agent-v2-person .agent-v2-identity{grid-column:1;grid-row:1}
body.agent-v2 .agent-v2-balance{grid-column:2;grid-row:1;font-size:14px}
body.agent-v2 .agent-v2-person input{grid-column:1;grid-row:2}
body.agent-v2 .agent-v2-person .agent-v2-plus{grid-column:2;grid-row:2;width:96px;height:48px;min-height:48px!important;font-size:14px!important}}
