body.b2b-app, body.b2b-guest {
    --agent-font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --agent-title-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem);
    --agent-section-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
    --agent-body-size: .9375rem;
    --agent-label-size: .875rem;
    --agent-caption-size: .8125rem;
    --bs-body-font-family: var(--agent-font);
    font-family: var(--agent-font);
    font-size: var(--agent-body-size);
    line-height: 1.5;
}

:is(.b2b-app, .b2b-guest) :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--agent-font);
    font-weight: 650;
    letter-spacing: -.015em;
    line-height: 1.3;
    overflow-wrap: break-word;
}
:is(.b2b-app .agent-main, .b2b-guest main) h1 { font-size: var(--agent-title-size); font-weight: 700; }
:is(.b2b-app .agent-main, .b2b-guest main) h2 { font-size: var(--agent-section-size); }
:is(.b2b-app .agent-main, .b2b-guest main) h3 { font-size: 1.0625rem; }
:is(.b2b-app, .b2b-guest) :is(input, select, textarea, button, .btn) { font-family: var(--agent-font); }
:is(.b2b-app, .b2b-guest) :is(label, legend) { line-height: 1.4; }
:is(.b2b-app, .b2b-guest) :is(.form-label, .form-check-label) { font-size: var(--agent-label-size); }
:is(.b2b-app, .b2b-guest) :is(.form-control, .form-select) { font-size: var(--agent-body-size); }
.b2b-app :is(.agent-dashboard-sidebar__label, .agent-dashboard-service-nav a, .agent-nav a) {
    font-size: var(--agent-label-size);
    font-weight: 600;
}
.b2b-app .agent-wallet-balance strong, .b2b-app td { font-variant-numeric: tabular-nums; }
.b2b-app .agent-profile-chip p small, .b2b-app .agent-wallet-balance small { font-size: var(--agent-caption-size); }

@media (max-width: 650px) {
    :is(.b2b-app, .b2b-guest) :is(input:not([type=checkbox],[type=radio]), select, textarea) { font-size: 1rem; }
}
