/* SMART PLAN V34 TEST ONLY - responsive-density treatment for customer compare and consultation.
 * Inherits the existing V33 main quote screen unmodified.  Deliberately modifies
 * neither data, policies, app.js, nor HTML.  At supported desktop widths only,
 * scales the two standalone overlay sheets to match the visual density users
 * previously saw when Chrome was set to 80% (while Chrome stays at 100%).
 */
@media screen and (min-width: 1440px) and (max-width: 1720px) {
  /* The overlay fills the physical viewport at 100%.  Apply zoom ONLY to the
     content sheet, never to the position:fixed overlay: the latter must still
     cover the full screen and retain ordinary scrolling/backdrop behavior. */
  #consultationView.consultation-overlay,
  #customerView.customer-overlay {
    padding: 12px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  #consultationView .consultation-sheet,
  #customerView .customer-sheet {
    zoom: .8;
    width: calc(125vw - 30px) !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #consultationView .consultation-sheet {
    min-height: calc(125vh - 30px) !important;
  }
  #customerView .customer-sheet {
    min-height: calc(125vh - 30px) !important;
  }
  /* Protect rich text and action buttons from accidental flex/grid overflow. */
  #consultationView .consultation-header,
  #customerView .customer-top {
    min-width: 0;
  }
  #consultationView .consultation-actions-primary,
  #consultationView .consultation-actions-secondary,
  #customerView .customer-actions {
    min-width: 0;
  }
}
/* No print adjustments necessary: screen-only zoom cannot modify @media print. */
