/* Accounting display enhancements – intentionally scoped to screen, never print. */
@media screen {
  body .app-shell .page-content .acct-v48-kpis { gap: 12px; }
  body .app-shell .page-content .acct-v48-kpis article {
    display: flex; flex-direction: column; align-items: stretch; justify-content: center;
    gap: 7px; padding: 16px; border-color: var(--hm-ui-border);
  }
  body .app-shell .page-content .acct-v48-kpis article > span {
    font-size: var(--hm-ui-label) !important; line-height: 1.6;
    font-weight: 800; color: var(--hm-ui-muted); overflow-wrap: anywhere;
  }
  body .app-shell .page-content .acct-v48-kpis article > strong {
    display: block; margin: 0; min-width: 0; overflow-wrap: anywhere;
    font-size: max(20px,calc(21px * var(--ds-title-scale,1))) !important;
    line-height: 1.4; font-weight: 900; font-variant-numeric: tabular-nums;
    direction: ltr; text-align: right;
  }
  body .app-shell .page-content .acct-v48-kpis article > small {
    color: var(--hm-ui-muted); font-size: var(--hm-ui-meta) !important;
    font-weight: 700; line-height: 1.5;
  }
  body .app-shell .page-content .acct-v48-tabs a {
    font-size: var(--hm-ui-label) !important; min-height: 43px; padding: 10px 13px;
    display: inline-flex; align-items: center;
  }
  body .app-shell .page-content .acct-v48-filter { gap: 14px; border-color: var(--hm-ui-border); }
  body .app-shell .page-content .acct-v48-filter-fields { gap: 12px; }
  body .app-shell .page-content .acct-v48-filter-fields > label { gap: 7px; min-width: 0; }
  body .app-shell .page-content .acct-v48-filter-fields > label > span {
    font-size: var(--hm-ui-label) !important; color: var(--hm-ui-text); font-weight: 800;
  }
  body .app-shell .page-content .acct-v49-date-hint { color: var(--hm-ui-muted); font-size: var(--hm-ui-meta) !important; }
  body .app-shell .page-content .acct-v48-chart-card p,
  body .app-shell .page-content .acct-v48-report-head p {
    color: var(--hm-ui-muted); font-size: var(--hm-ui-meta) !important; line-height: 1.7;
  }
  body .app-shell .page-content .acct-v48-chart-card > header > a,
  body .app-shell .page-content .acct-v48-chart-card > footer,
  body .app-shell .page-content .acct-v48-chart-card > footer span,
  body .app-shell .page-content .acct-v48-month-bars b,
  body .app-shell .page-content .acct-v48-hbars > a,
  body .app-shell .page-content .acct-v48-hbars > a > b,
  body .app-shell .page-content .acct-v48-mix span,
  body .app-shell .page-content .acct-v48-mix > div > strong,
  body .app-shell .page-content .acct-v48-trend :is(b,small) {
    font-size: var(--hm-ui-meta) !important; line-height: 1.6;
  }
  body .app-shell .page-content .acct-v48-hbars > a,
  body .app-shell .page-content .acct-v48-mix > div { min-width: 0; }
  body .app-shell .page-content .acct-v48-hbars > a > span,
  body .app-shell .page-content .acct-v48-mix span { white-space: normal; overflow-wrap: anywhere; }
  body .app-shell .page-content .acct-v48-report-panel :is(th,td) {
    font-size: var(--hm-ui-body) !important; line-height: 1.7;
  }
  body .app-shell .page-content .acct-v48-report-panel th { color: var(--hm-ui-muted); font-weight: 850; }
  body .app-shell .page-content .acct-v48-report-panel .acct-v48-status { font-size: var(--hm-ui-meta) !important; }
  body .app-shell .page-content .acct-v48-report-head { gap: 12px; }
  @media (max-width: 740px) {
    body .app-shell .page-content .acct-v48-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    body .app-shell .page-content .acct-v48-kpis article { padding: 12px; gap: 6px; }
    body .app-shell .page-content .acct-v48-kpis article > strong { font-size: max(19px,calc(20px * var(--ds-title-scale,1))) !important; }
    body .app-shell .page-content .acct-v48-hbars > a,
    body .app-shell .page-content .acct-v48-mix > div { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  }
  @media (max-width: 350px) {
    body .app-shell .page-content .acct-v48-kpis { grid-template-columns: 1fr; }
  }
}
