/* User console only: align text scale with the public documentation. */
.app-shell.app-shell:not(.admin-shell) { font-size: 15px; line-height: 1.65; }
.app-shell.app-shell:not(.admin-shell) h1 { font-size: 20px; line-height: 1.4; }
.app-shell.app-shell:not(.admin-shell) h2 { font-size: 18px; line-height: 1.45; }
.app-shell.app-shell:not(.admin-shell) h3 { font-size: 16px; line-height: 1.5; }
.app-shell.app-shell:not(.admin-shell) .sidebar nav a,
.app-shell.app-shell:not(.admin-shell) .sidebar-extra a { font-size: 14px; }
.app-shell.app-shell:not(.admin-shell) .page-title-line p { font-size: 14px; }
.app-shell.app-shell:not(.admin-shell) .ov-card-head h2,
.app-shell.app-shell:not(.admin-shell) .mp-head h2 { font-size: 18px; }
.app-shell.app-shell:not(.admin-shell) .ov-kpi-label { font-size: 14px; }
.app-shell.app-shell:not(.admin-shell) .ov-kpi-sub,
.app-shell.app-shell:not(.admin-shell) .ov-card-sub { font-size: 13px; }
.app-shell.app-shell:not(.admin-shell) table,
.app-shell.app-shell:not(.admin-shell) .lg-table,
.app-shell.app-shell:not(.admin-shell) .mp-table { font-size: 14px; }
.app-shell.app-shell:not(.admin-shell) th,
.app-shell.app-shell:not(.admin-shell) .lg-table th,
.app-shell.app-shell:not(.admin-shell) .mp-table th { font-size: 13px; }
.app-shell.app-shell:not(.admin-shell) button,
.app-shell.app-shell:not(.admin-shell) .button-link { font-size: 14px; }
.app-shell.app-shell:not(.admin-shell) .ov-seg button { font-size: 13px; }
.app-shell.app-shell:not(.admin-shell) .notice { font-size: 14px; }
@media (max-width: 767px) {
  .app-shell.app-shell:not(.admin-shell) h1 { font-size: 20px; }
  .app-shell.app-shell:not(.admin-shell) .sidebar nav a { font-size: 14px; }
}

/* Shared user-console typography. Code and model identifiers retain their monospace stack. */
html[data-console-apple] #app .app-shell:not(.admin-shell) {
  --sans:"PingFang SC",-apple-system,BlinkMacSystemFont,sans-serif;
}
html[data-console-apple] #app .app-shell:not(.admin-shell) :is(h1,h2,h3,h4,h5,h6) {
  font-family:var(--sans)!important;
}
#app .app-shell:not(.admin-shell) {--console-subheading:#283447}
html[data-console-theme="dark"] #app .app-shell:not(.admin-shell) {--console-subheading:#dce3ee}
#app .app-shell.app-shell:not(.admin-shell) :is(
  h2,h3,h4,h5,h6,th,dt,legend,summary,
  .side-title,.ov-kpi-label,.ov-recent-head,.ov-recent-head>span,
  .model-head,.model-head>span,.mp-th-group,.mp-k,
  .metric-card>span:first-child,.kp-save-label,.cg-balance-label,
  .form-field>span:first-child,.recharge-payways-label,.usdt-label,.usdt-field-label,
  .smr-head-title,.smr-title,.smi-title,.smi-detail-title,.ht-locked-head strong
) {color:var(--console-subheading)!important}
