/* One visual system for agent pages; never applies to administrator or member pages. */
@media(min-width:721px){
 body.agent-top-layout.agent-page-viewport{height:100dvh;overflow:hidden;overscroll-behavior:none}
 body.agent-top-layout.agent-page-viewport>main,body.agent-top-layout.agent-page-viewport :is(#workspace,.layout,.main-pane){min-width:0;box-sizing:border-box}
 body.agent-top-layout .main-pane>.agent-page-fit{--page-bg:#fff;--page-soft:var(--agent-theme-light,#edf4ff);--page-ink:var(--agent-theme-ink,#344e69);--page-line:var(--agent-theme-line,#dce4f0);--page-primary:var(--agent-theme-primary,#365fe5);box-sizing:border-box;height:var(--agent-page-height);max-height:var(--agent-page-height);min-height:0;margin:0!important;padding:18px!important;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bdcddd transparent;border:1px solid var(--page-line);border-radius:12px;background:var(--page-bg);color:var(--page-ink);box-shadow:0 3px 14px #20375a05}
 body.agent-top-layout .agent-page-fit>h2{font-size:18px;line-height:1.5;font-weight:650;color:var(--page-ink);padding:0 0 12px;margin:0 0 16px;border-bottom:1px solid var(--page-line)}
 body.agent-top-layout .agent-page-fit h3{color:var(--page-ink);font-size:14px;line-height:1.6}
 body.agent-top-layout .agent-page-fit :is(input,select,textarea){box-sizing:border-box;border-radius:7px;border-color:var(--page-line);font-family:inherit;font-size:12px;max-width:100%;box-shadow:none}
 body.agent-top-layout .agent-page-fit :is(button,input,select,textarea):focus-visible{outline:2px solid var(--page-primary);outline-offset:2px}
 body.agent-top-layout .agent-page-fit button{border-radius:7px;font-family:inherit;font-size:12px;line-height:1.5;min-height:32px}
 body.agent-top-layout .agent-page-fit>form,body.agent-top-layout .agent-page-fit>.setting-grid{box-sizing:border-box;padding:12px 14px;border:1px solid var(--page-line);border-radius:9px;background:color-mix(in srgb,var(--page-soft) 34%,var(--page-bg));margin-bottom:14px}
 body.agent-top-layout .agent-page-fit>form>button:not([type=button]){background:var(--page-primary);color:#fff}
 body.agent-top-layout .agent-page-fit> .scroll{border:1px solid var(--page-line);border-radius:9px}
 body.agent-top-layout .agent-page-fit table{font-size:12px;font-variant-numeric:tabular-nums}body.agent-top-layout .agent-page-fit th{background:color-mix(in srgb,var(--page-soft) 50%,var(--page-bg));color:var(--page-ink);font-size:11px;font-weight:600}body.agent-top-layout .agent-page-fit :is(td,th){border-color:var(--page-line)}
 body.agent-top-layout .main-pane>.agent-page-fit.agent-funding-page{padding:0!important;overflow:hidden;border:0;background:transparent!important;box-shadow:none}
 #agentSupportChat.agent-funding-page>.rf-application-management{--rf-accent:var(--agent-theme-primary,#365fe5);--rf-line:var(--agent-theme-line,#dce4f0);--rf-ink:var(--agent-theme-ink,#344e69);--rf-soft:color-mix(in srgb,var(--agent-theme-light,#edf4ff) 40%,#fff);display:flex;flex-direction:column;height:100%;min-height:0;margin:0;padding:16px 18px!important;overflow:hidden;border-radius:12px}
 #agentSupportChat.agent-funding-page .rf-app-heading{flex:none;margin-bottom:12px}.agent-funding-page .rf-app-heading p{display:none}
 #agentSupportChat.agent-funding-page .rf-app-layout{flex:1;grid-template-columns:136px minmax(0,1fr);gap:18px;min-height:0;overflow:hidden}
 #agentSupportChat.agent-funding-page .rf-app-main{display:flex;flex-direction:column;min-height:0;overflow:hidden}
 #agentSupportChat.agent-funding-page .rf-app-filters{flex:none;padding:10px 12px;gap:8px}
 #agentSupportChat.agent-funding-page .rf-app-field{gap:5px;min-width:105px}#agentSupportChat.agent-funding-page .rf-app-search{min-width:155px}
 #agentSupportChat.agent-funding-page .rf-app-presets{flex:none;margin-top:8px;gap:7px}#agentSupportChat.agent-funding-page .rf-app-scope{flex:none;margin:7px 0;font-size:10px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #agentSupportChat.agent-funding-page .rf-app-table-scroll{flex:1;min-height:0;max-height:none;height:auto;scrollbar-width:thin;scrollbar-color:#bfcddd transparent}
 #agentSupportChat.agent-funding-page .rf-app-footer{flex:none;padding:10px 0 0;gap:8px}#agentSupportChat.agent-funding-page .rf-status{flex:none;margin:4px 0 0}
 #agentSupportChat.agent-funding-page .rf-compact-filters .rf-app-filters{gap:7px}#agentSupportChat.agent-funding-page .rf-compact-filters .rf-app-filter-actions{margin-left:auto}#agentSupportChat.agent-funding-page .rf-compact-filters .rf-app-filter-actions button{padding-inline:8px;font-size:11px}#agentSupportChat.agent-funding-page .rf-compact-filters .rf-app-category{white-space:nowrap;padding-inline:8px;font-size:11px}
 body.agent-top-layout #agentSupportChat.agent-funding-page .rf-app-category{box-shadow:none;background:var(--rf-soft);border-radius:10px;color:var(--rf-ink);white-space:nowrap;padding:10px 8px;font-size:12px;gap:5px}body.agent-top-layout #agentSupportChat.agent-funding-page .rf-app-category[aria-pressed=true]{background:var(--rf-accent);color:#fff}
 #agentSupportChat.agent-funding-page .rf-app-pagination{margin-right:78px}
 #agentSupportChat.agent-funding-page .rf-app-table :is(td,th){padding:10px 9px}#agentSupportChat.agent-funding-page .rf-app-table th{height:24px}
 #agentSupportChat.agent-funding-page .rf-app-table td:first-child{min-width:160px}#agentSupportChat.agent-funding-page .rf-app-table th:first-child{font-size:11px}
 :root[data-agent-theme=night] body.agent-top-layout .agent-page-fit{--page-bg:#192638;--page-soft:#263b55;--page-line:#304259;--page-ink:#d9e5f4;--page-primary:#477fba}
 :root[data-agent-theme=night] body.agent-top-layout .agent-page-fit :is(.agent-dashboard-metrics strong,.agent-dashboard-funds strong,.agent-network-grid strong){color:#c5defb!important}
 :root[data-agent-theme=night] body.agent-top-layout .agent-page-fit :is(.agent-dashboard-metrics span,.agent-network-grid span,.agent-network-grid small,.agent-dashboard-metrics small){color:#a6bad2}
 :root[data-agent-theme=night] body.agent-top-layout .agent-page-fit :is(.agent-income-track,.income-total){background:#293f5c!important}
 :root[data-agent-theme=night] #agentSupportChat.agent-funding-page>.rf-application-management{--rf-accent:#56bdd9;--rf-bg:#192638;--rf-soft:#1d2e44;--rf-ink:#d9e5f4;--rf-line:#304259}
 @media(max-width:1100px){#agentSupportChat.agent-funding-page .rf-app-layout{grid-template-columns:112px minmax(0,1fr);gap:12px}#agentSupportChat.agent-funding-page>.rf-application-management{padding:12px!important}#agentSupportChat.agent-funding-page .rf-app-categories{padding-right:10px}#agentSupportChat.agent-funding-page .rf-app-category{padding:9px;font-size:11px}#agentSupportChat.agent-funding-page .rf-app-field{min-width:100px}#agentSupportChat.agent-funding-page .rf-app-pagination{gap:5px}#agentSupportChat.agent-funding-page .rf-app-pagination button{padding-inline:7px}}
 @media(max-height:760px){#agentSupportChat.agent-funding-page>.rf-application-management{padding:12px!important}#agentSupportChat.agent-funding-page .rf-app-heading{margin-bottom:8px}#agentSupportChat.agent-funding-page .rf-app-heading h2{font-size:17px}#agentSupportChat.agent-funding-page .rf-app-heading-actions>*{min-height:28px;padding:4px 10px;font-size:11px}#agentSupportChat.agent-funding-page .rf-app-filters{padding:8px;gap:6px}#agentSupportChat.agent-funding-page .rf-app-field{gap:3px;font-size:10px}#agentSupportChat.agent-funding-page .rf-app-field :is(input,select){min-height:30px;height:30px;font-size:11px}#agentSupportChat.agent-funding-page .rf-app-presets{margin-top:6px}#agentSupportChat.agent-funding-page .rf-app-presets button{min-height:26px;padding:2px 10px;font-size:11px}#agentSupportChat.agent-funding-page .rf-app-scope{margin:5px 0}#agentSupportChat.agent-funding-page .rf-app-footer{padding-top:7px}#agentSupportChat.agent-funding-page .rf-app-totals{gap:4px 12px;font-size:11px}#agentSupportChat.agent-funding-page .rf-app-totals small{font-size:9px}}
}
