/* Agent funds secondary view. Forms retain their existing transaction handlers. */
#agentPage .agent-funds-tabs[hidden] { display: none !important; }
#agentPage.agent-funds-view > :not(.region-top):not(.agent-funds-tabs):not([data-agent-panel="transfer"]):not([data-agent-panel="withdraw"]) { display: none !important; }
#agentPage.agent-funds-view > [data-agent-panel="transfer"]:not(.active),
#agentPage.agent-funds-view > [data-agent-panel="withdraw"]:not(.active) { display: none !important; }
#agentPage .agent-funds-tabs { display: flex; gap: 6px; padding: 6px; margin: 20px 0 16px; border: 1px solid #e3e7ed; border-radius: 16px; background: #eef1f5; }
#agentPage .agent-funds-tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 11px; background: transparent; color: #687487; font: inherit; font-weight: 600; cursor: pointer; }
#agentPage .agent-funds-tabs button.active { background: #fff; color: #008e87; box-shadow: 0 2px 8px #182b4510; }
#agentPage .agent-funds-tabs button:focus-visible { outline: 2px solid #008e87; outline-offset: 2px; }
#agentPage.agent-funds-view > .agent-card.active { border-radius: 18px; }
