/* SMART PLAN V36 UI-only overlay.
   Restore original consultation sheet size wherever V34 desktop zoom applied.
   Keep V35 large quote-comparison dialog and editable names untouched.
   No change to calculation, saved quotes, print/capture, or CRM. */
@media screen and (min-width: 1440px) and (max-width: 1720px) {
  #consultationView.consultation-overlay {
    padding: 24px !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
  }
  #consultationView .consultation-sheet {
    zoom: 1 !important;
    width: min(1380px, calc(100vw - 72px)) !important;
    max-width: none !important;
    min-height: min(930px, calc(100vh - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* A native showModal() <dialog> uses the browser top layer. Global #toast,
   outside that top layer, can be hidden regardless of its z-index.
   This separate in-dialog notice mirrors the existing toast. */
@media screen {
  #consultationCompareDialog .consultation-compare-feedback-v36 {
    position: absolute;
    left: 50%;
    bottom: clamp(44px, 7vh, 72px);
    transform: translateX(-50%);
    z-index: 70;
    display: none;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100% - 42px);
    padding: 12px 19px;
    border-radius: 11px;
    background: #203246;
    color: white;
    box-shadow: 0 14px 35px rgba(10,24,40,.3);
    text-align: center;
    font-size: clamp(12px, .8vw, 14px);
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
    pointer-events: none;
  }
  #consultationCompareDialog .consultation-compare-feedback-v36.show {display: block}
  #consultationCompareDialog .consultation-compare-feedback-v36.error {background:#9e3d46}
}
