/* Shared Planning/Framework print contract. Research and scored reports keep
   their own layouts. Loaded by the template and inlined last for saved PDFs. */
@media print {
  .sim-v2.rpt-card-stack[data-product]:not(.rpt-two-row) .mi-section:not(#p-cover) {
    padding-inline: 24px !important;
  }
  .sim-v2.rpt-card-stack[data-product]:not(.rpt-two-row) #p-cover {
    padding-inline: 0 !important;
  }
  .sim-v2.rpt-card-stack[data-product]:not(.rpt-two-row) #p-cover .sv-cover {
    margin-inline: 0 !important;
    padding-inline: 24px !important;
    width: auto !important;
  }
  .sim-v2.rpt-card-stack[data-product]:not(.rpt-two-row) .fw-report-intro-banner {
    margin-inline: 0 !important;
    padding-inline: 24px !important;
  }
  .sim-v2.rpt-card-stack[data-product]:not(.rpt-two-row) #p-cover .sv-cover-kicker-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .sim-v2.rpt-card-stack[data-product]:not(.rpt-two-row) #p-cover .sv-cover-kicker {
    display: inline-flex !important;
    align-self: flex-start !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  /* Width-only mobile rules also match paper. Restore the logo row rather
     than allowing its screen-only zero height/negative margin to clip it. */
  .sim-v2.rpt-card-stack[data-product]:not(.rpt-two-row) #p-cover .rpt-cover-wordmark {
    display: flex !important;
    position: static !important;
    height: auto !important;
    min-height: 48px !important;
    overflow: visible !important;
    margin: 0 0 12px !important;
    padding-inline: 24px !important;
    box-sizing: border-box !important;
  }
  .sim-v2.rpt-card-stack[data-product]:not(.rpt-two-row) #p-cover .rpt-cover-wordmark__logo {
    display: flex !important;
    margin: 0 0 0 auto !important;
  }
  .sim-v2.rpt-card-stack[data-product]:not(.rpt-two-row) .mi-stat-callout-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    overflow: visible !important;
    flex-wrap: unset !important;
    scroll-snap-type: none !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .sim-v2.rpt-card-stack[data-product]:not(.rpt-two-row) .mi-stat-callout-grid > .mi-stat-callout {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .sim-v2.rpt-card-stack[data-product]:not(.rpt-two-row) .mi-title {
    break-after: avoid !important;
    page-break-after: avoid !important;
  }
}
