/* SMART PLAN V37: consultation sheet visual density only.
   At desktop 100% browser zoom, match the smaller centred 80%-browser view.
   Inherits V36: quote-to-quote dialog, editable names and feedback unchanged.
   No pricing, policy, quotes, exports, comparison-dialog or CRM rules touched.
   Screen-only: preserve existing print/PDF styling. */
@media screen and (min-width: 1440px) and (max-width: 2000px) {
  #consultationView.consultation-overlay {
    padding: 20px !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
  }
  #consultationView .consultation-sheet {
    /* Shrink the COMPLETE sheet and its typography/forms at the same ratio.
       Width is expressed in pre-zoom CSS pixels, not scaled viewport pixels.
       Do not counteract zoom with the 125vw wide-sheet rule used by V34. */
    zoom: .8 !important;
    width: min(1660px, calc(100vw - 128px)) !important;
    max-width: none !important;
    min-height: min(930px, calc(125vh - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}
