/* v0.9.44: scoped export settings; no changes to the standalone report. */
#htmlReportDialog {
  width: min(780px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
}
#htmlReportDialog .html-report-dialog-content {
  width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;
  max-height: calc(100dvh - 34px); overflow-y: auto; overflow-x: hidden;
  overflow-wrap: anywhere;
}
#htmlReportDialog .field, #htmlReportDialog .field select {min-width: 0; max-width: 100%;}
#htmlReportDialog .dialog-actions {
  position: sticky; bottom: 0; background: #fff;
  padding: 12px 24px; flex-shrink: 0; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px;
}
#htmlReportDialog .html-report-feedback {
  padding: 12px 14px; border: 1px solid #c44737; border-left: 4px solid #c44737;
  border-radius: 8px; background: #fff5f2; color: #7f281e; line-height: 1.5;
}
@media (max-width: 760px) {
  #htmlReportDialog .html-report-sensitivity-options, #htmlReportDialog .html-report-plan-grid {grid-template-columns: 1fr;}
  #htmlReportDialog .dialog-actions {bottom: 0; padding: 12px 16px;}
}
