/* Shared presentation for internal charts. Series colours carry staff identity. */
#szm-brand-typography .staff-app .revenue-chart,
#szm-brand-typography .staff-app .szm-stats-chart {
  background: linear-gradient(160deg, #fff 65%, #f7faff);
  border: 1px solid #e2e9f2;
  border-radius: 20px;
  box-shadow: 0 4px 20px #18365306;
}
#szm-brand-typography .staff-app .revenue-chart-heading { padding-bottom: 8px; }
#szm-brand-typography .staff-app .revenue-chart-heading h2,
#szm-brand-typography .staff-app .szm-stats-chart h3 { color: #20344d; letter-spacing: -.025em; }
#szm-brand-typography .staff-app .revenue-chart-unit { color: #64748b; letter-spacing: .12em; font-size: 10px; font-weight: 600; }
#szm-brand-typography .staff-app .revenue-chart-symbol { background: #edf4fc; color: #4270a5; border-radius: 14px; }
#szm-brand-typography .staff-app .revenue-chart-legend { gap: 8px; }
#szm-brand-typography .staff-app .revenue-chart .revenue-chart-legend button[aria-pressed]:not(:disabled) {
  border: 1px solid #e3eaf3; border-radius: 999px !important; background: #fff !important;
  color: #40516a; padding: 7px 12px; min-height: 36px;
  font-size: 12px; box-shadow: 0 2px 5px #18365304;
  transition: background .15s, border-color .15s;
}
#szm-brand-typography .staff-app .revenue-chart .revenue-chart-legend button[aria-pressed]:not(:disabled):hover { background: #f1f6fd !important; border-color: #b9cce5; }
#szm-brand-typography .staff-app .revenue-chart .revenue-chart-legend button[aria-pressed]:not(:disabled)[aria-pressed=false] { opacity: .5; box-shadow: none; }
#szm-brand-typography .staff-app .revenue-chart .revenue-chart-legend button[aria-pressed]:not(:disabled):focus-visible { outline: 2px solid #2459c4; outline-offset: 3px; }
#szm-brand-typography .staff-app .revenue-chart .revenue-chart-legend button[aria-pressed]:not(:disabled) i { width: 9px; height: 9px; }
#szm-brand-typography .staff-app .revenue-chart-canvas { margin-top: 10px; }
#szm-brand-typography .staff-app .revenue-chart .recharts-cartesian-axis-tick text { fill: #67778f; font-variant-numeric: tabular-nums; }
#szm-brand-typography .staff-app .revenue-chart .recharts-line-curve,
#szm-brand-typography .staff-app .revenue-chart .recharts-area-curve,
#szm-brand-typography .staff-app .szm-stats-trend path { stroke-linecap: round; stroke-linejoin: round; }
#szm-brand-typography .staff-app .revenue-chart .recharts-default-tooltip { backdrop-filter: blur(12px); background-color: #ffffffed !important; }
#szm-brand-typography .staff-app .revenue-chart .recharts-tooltip-item { padding: 3px 0; font-variant-numeric: tabular-nums; }
#szm-brand-typography .staff-app .szm-stats-trend { border-radius: 14px; background: linear-gradient(#fff, #f8fafd); }
#szm-brand-typography .staff-app .szm-stats-trend line { stroke: #e5ebf3; stroke-dasharray: 2 6; }
#szm-brand-typography .staff-app .szm-stats-trend circle { stroke: #fff; stroke-width: 2; }
#szm-brand-typography .staff-app .szm-stats-trend text { fill: #67778f; }
#szm-brand-typography .staff-app .szm-stats-track,
#szm-brand-typography .staff-app .szm-stat-bars,
#szm-brand-typography .staff-app .szm-time-stat-bar,
#szm-brand-typography .staff-app .szm-time-stat-targets > div > div,
#szm-brand-typography .staff-app .office-share-chart { background: #edf2f8; border-radius: 999px; overflow: hidden; }
#szm-brand-typography .staff-app .szm-stats-track > span,
#szm-brand-typography .staff-app .szm-stat-bars > span,
#szm-brand-typography .staff-app .szm-time-stat-targets > div > div > span { border-radius: 999px; box-shadow: inset 0 1px 0 #ffffff26; }
/* Stacked segments retain exact adjoining widths; only the outer track is rounded. */
#szm-brand-typography .staff-app .szm-time-stat-bar > span,
#szm-brand-typography .staff-app .office-share-chart > span { box-shadow: inset 0 1px 0 #ffffff26; }
#szm-brand-typography .staff-app .szm-stats-legend i,
#szm-brand-typography .staff-app .office-share-legend i { border-radius: 50%; }
#szm-brand-typography .staff-app .szm-stats-donut svg { filter: drop-shadow(0 3px 5px #18365308); }
@media (max-width: 600px) {
  #szm-brand-typography .staff-app .szm-stats-trend text { font-size: 22px; }
  #szm-brand-typography .staff-app .revenue-chart, #szm-brand-typography .staff-app .szm-stats-chart { border-radius: 16px; }
  #szm-brand-typography .staff-app .revenue-chart .revenue-chart-legend button[aria-pressed]:not(:disabled) { padding: 6px 10px; min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  #szm-brand-typography .staff-app .revenue-chart .revenue-chart-legend button[aria-pressed]:not(:disabled) { transition: none; }
}
@media print {
  #szm-brand-typography .staff-app .revenue-chart, #szm-brand-typography .staff-app .szm-stats-chart { background: #fff; box-shadow: none; }
  #szm-brand-typography .staff-app .szm-stats-donut svg { filter: none; }
}






