/* =========================================================
   Polymathic Group — Fixed Asset Accounting page
   Sections come from the .prod-* product page components in styles.css.
   Only the screenshots and the fixed-column sample reports are specific
   to this page.
   ========================================================= */

/* Sample reports are wide, so their groups get the full column. */
.fa-report-groups {
  grid-template-columns: minmax(0, 1fr);
}

.fa-screen {
  min-width: 0;
  max-width: max-content;
  margin: 1rem auto 0;
  padding: 0.25rem;
  overflow: hidden;
  border: 1px solid rgba(5, 45, 73, 0.1);
  border-radius: var(--radius-sm);
  background: #fff;
}

.fa-screen img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
}

/*
 * The outer element is limited to the available column width.
 * It scrolls horizontally only when the original report is wider.
 */
.fa-code-scroll {
  display: block;
  max-width: 100%;
  margin-top: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(5, 45, 73, 0.12);
  border-radius: var(--radius-sm);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

/*
 * Preserve every space in the original fixed-column report output.
 * Do not use wrapping or a responsive font-size reduction here.
 */
.fa-code {
  display: block;
  width: max-content;
  margin: 0;
  padding: 1rem 1.1rem;
  background: transparent;
  color: var(--navy-900);
  font-family: var(--font-mono);
  font-size: var(--text-min);
  font-weight: 400;
  line-height: 1.45;
  white-space: pre;
}

@media (max-width: 640px) {
  .fa-code {
    padding: 0.9rem;
  }
}
