/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
   --app-header-height: 170px;
 }

/* Cartesian chart labels are full, parallel diagonal text. On narrow screens
 * retain legibility instead of squeezing dense labels into unreadable text. */
.cim-cartesian-chart-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}
.cim-cartesian-chart-scroll > svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: var(--cim-chart-min-width, 0);
  max-width: none;
  max-height: none;
}
@media print {
  .cim-cartesian-chart-scroll { overflow: visible !important; }
  .cim-cartesian-chart-scroll > svg {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}
