/* Current HazCom standard and Appendices A-F only; verified responsive repairs. */
.hazcom-verified p a { overflow-wrap: anywhere; }
.hazcom-verified .sectionHeader { box-sizing: border-box; }
.hazcom-verified .furtherInfo {
  box-sizing: border-box;
  max-width: 100%;
}
@media (max-width: 800px) {
  .hazcom-verified .SE_floatRight,
  .hazcom-verified .SE_floatLeft {
    float: none;
    box-sizing: border-box;
    max-width: 100%;
  }
  .hazcom-verified .tocLeftHeader,
  .hazcom-verified .tocLeft,
  .hazcom-verified .tocRight {
    float: none;
    width: 100%;
    margin-left: 0;
  }
  /* Rollover explanations have no useful heading on touch screens. */
  .hazcom-verified .tocRightHeader { display: none; }
}

/* Approved reading sizes: regulatory prose 16px; supporting content 14px.
   Page-specific selectors override historical appendix sizes without changing
   those shared stylesheets or affecting historical editions. */
body.hazcom-verified #pagecontent,
body.hazcom-verified #pagecontent [id^="currentAppendix"] {
  font-size: 16px;
  line-height: 1.5;
}
body.hazcom-verified #pagecontent :is(p, ul, ol, li, blockquote, dl, dt, dd) {
  font-size: 16px;
  line-height: 1.5;
}
body.hazcom-verified #pagecontent :is(table, th, td, table p, table li, table ul, table ol),
body.hazcom-verified #pagecontent :is(.appHazardFigure, .appHazardFigure *, .appFigureTable, .appFigureTable *) {
  font-size: 14px !important;
  line-height: 1.5;
}
body.hazcom-verified #pagecontent :is(.SE_floatRight, .SE_floatLeft, .sponsorBar),
body.hazcom-verified #pagecontent :is(.SE_floatRight, .SE_floatLeft, .sponsorBar) :is(p, a, span, li),
body.hazcom-verified #pagecontent #sdsTopicInfo :is(p, li, th, td) {
  font-size: 14px !important;
  line-height: 1.4;
}
body.hazcom-verified :is(.btnSDS, .btnSDS_current, .collapsible, .prevNextButtons, .prevNextSmall, .appSectionNav, .appC4JumpSelect, .appC4JumpButton),
body.hazcom-verified #pagecontent :is(.appSectionNav, .appFootnote, .appFederalRegister, .tocLeft li, .tocRight p, .furtherInfo p, .furtherInfo li),
body.hazcom-verified .footerDisclaimer,
body.hazcom-verified .appOfficialSource {
  font-size: 14px;
  line-height: 1.5;
}
/* The main standard's footer is inside its legacy pagecontent container. */
body.hazcom-verified #pagecontent :is(.footerDisclaimer, .appOfficialSource) {
  font-size: 14px;
  line-height: 1.5;
}

/* Larger table text also needs contained scrolling at tablet widths. */
@media (max-width: 800px) {
  body.hazcom-verified #currentAppendixABody table.appRegTable {
    display: block;
    max-width: calc(100% - 0.5rem);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
