.chemical-result-page { background: #f7f9fb; }
.chemical-result-page .result-toolbar { padding: 26px 0 30px; background: #edf2f6; border-bottom: 1px solid #e3e9ef; }
.chemical-result-page .result-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; color: #75808d; font-size: 13px; }
.chemical-result-page .result-breadcrumb a { color: var(--heading-color); }
.chemical-result-page .result-breadcrumb i { font-size: 10px; }
.chemical-result-page .result-toolbar .chemical-search-form { max-width: 900px; box-shadow: none; }
.chemical-result-page .result-toolbar .form-control { padding-block: 9px; }
.chemical-result-page .result-toolbar .search-submit { padding-block: 10px; }
.chemical-result-page .result-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding-top: 36px; padding-bottom: 56px; align-items: start; }
.chemical-result-page .section-index { position: sticky; top: 120px; padding: 10px 0; }
.chemical-result-page .result-sidebar { align-self: stretch; }
.chemical-result-page .section-index > p { margin: 0 0 18px; padding-left: 14px; color: #8a95a1; font-size: 12px; letter-spacing: 1px; }
.chemical-result-page .section-index a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; margin-bottom: 5px; border-left: 2px solid transparent; border-radius: 0 6px 6px 0; color: var(--heading-color); font-size: 14px; }
.chemical-result-page .section-index a span { color: #8a95a1; font-size: 12px; font-variant-numeric: tabular-nums; }
.chemical-result-page .section-index a:hover, .chemical-result-page .section-index a:focus-visible { background: #eaf6fd; border-color: var(--accent-color); color: var(--accent-color); }
/* Web headings use the brand accent; the existing label/colon/value body stays intact. */
.chemical-result-page .result-content { min-width: 0; }
.chemical-result-page .sds-document { --result-accent: #0ca5e9; padding: 32px 36px 40px; border: 1px solid #e0e5eb; border-top: 3px solid var(--result-accent); border-radius: 8px; background: var(--surface-color); color: #30343a; font-size: 15px; line-height: 1.85; }
.chemical-result-page .sds-document-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 30px; margin-bottom: 12px; border-bottom: 1px solid #deedf6; }
.chemical-result-page .sds-document-header > div { min-width: 0; }
.chemical-result-page .sds-document-kind { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: #087eaf; font-size: 13px; font-weight: 500; }
.chemical-result-page .sds-document-kind::before { content: ""; width: 22px; height: 2px; background: var(--result-accent); }
.chemical-result-page .sds-document-header h1 { margin: 0; color: #203952; font-size: 38px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.chemical-result-page .sds-english-name { margin: 6px 0 0; color: #65717e; font-size: 18px; overflow-wrap: anywhere; }
.chemical-result-page .sds-document-meta { padding-top: 4px; text-align: right; font-size: 12px; color: #75808b; }
.chemical-result-page .sds-document-meta p { margin: 0 0 8px; }
.chemical-result-page .sds-document-meta p:first-child { display: inline-block; padding: 7px 14px; border: 1px solid #d9edf8; border-radius: 6px; background: #f1f9fe; color: #287195; font-size: 14px; font-weight: 500; }
.chemical-result-page .sds-section { margin-top: 36px; padding: 0; scroll-margin-top: 116px; }
.chemical-result-page .sds-section-heading { display: flex; align-items: center; gap: 18px; margin: 0 0 20px; padding: 16px 20px; border-left: 3px solid var(--result-accent); border-radius: 0 6px 6px 0; background: linear-gradient(90deg, #eef8fe, #f8fcff 65%, #fff); color: #203952; font-size: 23px; font-weight: 600; line-height: 1.5; text-align: left; }
.chemical-result-page .sds-heading-index { flex: 0 0 42px; color: var(--result-accent); font-size: 32px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.chemical-result-page .sds-heading-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.chemical-result-page .sds-heading-label { color: #6f8799; font-size: 11px; font-weight: 400; letter-spacing: 1px; }
.chemical-result-page .sds-fields { width: 100%; margin: 0; table-layout: fixed; border-collapse: collapse; }
.chemical-result-page .sds-label-column { width: 27%; }
.chemical-result-page .sds-colon-column { width: 24px; }
.chemical-result-page .sds-fields :is(th, td) { padding: 7px 0; border: 0; background: transparent; vertical-align: top; font-size: inherit; line-height: inherit; overflow-wrap: anywhere; }
.chemical-result-page .sds-fields th { padding-right: 12px; color: #363b41; font-weight: 400; text-align: left; }
.chemical-result-page .sds-fields td:last-child { padding-left: 12px; white-space: pre-line; }
.chemical-result-page .sds-fields .sds-colon { text-align: center; }
.chemical-result-page .sds-document .sds-subheading { display: flex; align-items: baseline; gap: 9px; margin: 24px 0 12px; color: #354d63; font-size: 16px; font-weight: 600; line-height: 1.8; }
.chemical-result-page .sds-document .sds-subheading::before { content: ""; flex: 0 0 5px; height: 5px; border-radius: 1px; background: var(--result-accent); align-self: center; }
.chemical-result-page .sds-text-list { margin: 0; padding: 0; list-style: none; }
.chemical-result-page .sds-text-list li { margin: 0 0 5px; }
.chemical-result-page .sds-text-list li:last-child { margin-bottom: 0; }
.chemical-result-page .sds-statement-code { display: inline; margin-right: 10px; font-size: 11px; color: #7b8691; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.chemical-result-page .sds-statements li > span:last-child { white-space: pre-line; }
.chemical-result-page .sds-pictograms { display: flex; flex-wrap: wrap; gap: 14px; padding: 2px 0 6px; }
.chemical-result-page .sds-pictograms figure { margin: 0; text-align: center; }
.chemical-result-page .sds-pictograms img { display: block; width: 72px; height: 72px; object-fit: contain; }
.chemical-result-page .sds-pictograms figcaption { margin-top: 4px; color: #7e8790; font-size: 10px; }
.chemical-result-page .sds-signal-word { font-size: 15px; font-weight: 600; color: #242a31; }
.chemical-result-page .sds-composition { width: 100%; margin-top: 18px; table-layout: fixed; border-collapse: collapse; }
.chemical-result-page .sds-component-column { width: 49%; }
.chemical-result-page .sds-cas-column { width: 30%; }
.chemical-result-page .sds-composition :is(th, td) { padding: 9px 12px; border: 0; color: #363b41; font-size: inherit; font-weight: 400; vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.chemical-result-page .sds-composition th { padding-top: 6px; padding-bottom: 6px; border-bottom: 1px solid #8d969f; }
.chemical-result-page .sds-composition :is(th, td):first-child { padding-left: 0; }
.chemical-result-page .sds-composition :is(th, td):last-child { padding-right: 0; }
.chemical-result-page .sds-properties :is(th, td) { padding-top: 11px; padding-bottom: 11px; }
.chemical-result-page .sds-transport-group + .sds-transport-group { margin-top: 24px; }
.chemical-result-page .sds-transport-group .sds-subheading { margin-top: 14px; }
.chemical-result-page .missing-data { color: #8a929a; }
.chemical-result-page .result-footnote { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 0; color: #7c8894; font-size: 12px; }
.chemical-result-page .data-notice { margin: 0 0 18px; font-size: 13px; color: #856429; }
.chemical-result-page .section-kicker { color: #7c8894; font-size: 13px; }
.chemical-result-page .results-section { min-height: 480px; padding-top: 44px; padding-bottom: 60px; }
.chemical-result-page .result-empty { max-width: 660px; text-align: center; padding: 52px 16px; margin: 0 auto; }
.chemical-result-page .result-empty > i { font-size: 42px; color: var(--accent-color); }
.chemical-result-page .result-empty h1 { font-size: 28px; margin: 16px 0; }
.chemical-result-page .result-empty p { font-size: 15px; overflow-wrap: anywhere; }
.chemical-result-page .result-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; }
.chemical-result-page .results-heading { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.chemical-result-page .results-heading h1 { margin: 0 0 12px; font-size: 28px; }
.chemical-result-page .results-heading p { margin-bottom: 8px; font-size: 14px; overflow-wrap: anywhere; }
.chemical-result-page .page-indicator { flex-shrink: 0; color: #7c8894; font-size: 13px; }
.chemical-result-page .search-result-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 14px; padding: 24px 28px; border: 1px solid #e2e8ef; border-radius: 10px; background: var(--surface-color); color: var(--default-color); transition: border-color .2s, box-shadow .2s; }
.chemical-result-page .search-result-card:hover { border-color: var(--accent-color); box-shadow: 0 4px 16px rgba(24,48,84,.04); }
.chemical-result-page .search-result-card > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.chemical-result-page .search-result-card h2 { font-size: 20px; color: #183054; margin-bottom: 6px; }
.chemical-result-page .search-result-card p { margin-bottom: 4px; font-size: 14px; }
.chemical-result-page .search-result-card .result-aliases { color: #7c8894; font-size: 13px; }
.chemical-result-page .result-card-cas { display: flex; align-items: center; gap: 28px; font-size: 13px; white-space: nowrap; }
.chemical-result-page .result-card-cas i { color: var(--accent-color); font-size: 22px; }
.chemical-result-page .result-pagination { display: flex; justify-content: center; gap: 20px; padding-top: 20px; }
.chemical-result-page .result-pagination a { padding: 8px 20px; border: 1px solid #dce3eb; border-radius: 6px; background: var(--surface-color); }
@media (max-width: 1199px) {
  .chemical-result-page .result-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 20px; }
  .chemical-result-page .sds-document { padding: 28px; }
}
@media (max-width: 991px) {
  .chemical-result-page .result-layout { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .chemical-result-page .section-index { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 8px; position: static; }
  .chemical-result-page .section-index > p { display: none; }
  .chemical-result-page .section-index a { white-space: nowrap; padding: 8px 12px; margin: 0; border: 1px solid #e2e8ef; border-radius: 5px; background: #fff; font-size: 13px; }
}
@media (max-width: 575px) {
  .chemical-result-page .result-toolbar { padding: 18px 0 22px; }
  .chemical-result-page .result-breadcrumb { gap: 8px; font-size: 12px; }
  .chemical-result-page .sds-document { padding: 20px 16px 28px; font-size: 14px; }
  .chemical-result-page .sds-document-header { flex-direction: column; gap: 10px; padding-bottom: 18px; }
  .chemical-result-page .sds-document-meta { text-align: left; padding: 0; font-size: 11px; }
  .chemical-result-page .sds-document-header h1 { font-size: 30px; }
  .chemical-result-page .sds-section { margin-top: 22px; scroll-margin-top: 90px; }
  .chemical-result-page .sds-section-heading { gap: 10px; padding: 13px 12px; font-size: 19px; margin-bottom: 14px; }
  .chemical-result-page .sds-heading-index { flex-basis: 32px; font-size: 27px; }
  .chemical-result-page .sds-heading-label { font-size: 10px; }
  .chemical-result-page .sds-label-column { width: 30%; }
  .chemical-result-page .sds-colon-column { width: 16px; }
  .chemical-result-page .sds-fields th { padding-right: 4px; }
  .chemical-result-page .sds-fields td:last-child { padding-left: 6px; }
  .chemical-result-page .sds-document .sds-subheading { font-size: 14px; }
  .chemical-result-page .sds-composition :is(th, td) { padding-inline: 5px; font-size: 13px; }
  .chemical-result-page .sds-pictograms { gap: 10px; }
  .chemical-result-page .sds-pictograms img { width: 62px; height: 62px; }
  .chemical-result-page .search-result-card { flex-direction: column; align-items: stretch; gap: 12px; padding: 20px; }
  .chemical-result-page .result-card-cas { justify-content: space-between; }
}
.pdf-export-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px 0 16px; padding: 30px; background: #eaf6fc; border: 1px solid #b8dceb; border-radius: 16px; }
.pdf-export-panel h2 { margin: 0 0 8px; font-size: 22px; color: #153e59; }
.pdf-export-panel p { margin: 0; color: #47677b; }
.pdf-export-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 25px; background: #00689f; color: #fff; border: 0; border-radius: 9px; font-size: 17px; font-weight: 700; box-shadow: 0 5px 14px #00689f25; cursor: pointer; white-space: nowrap; }
/* Reuse the original PDF glyph in red, with a white paper backing for contrast. */
.pdf-button-file-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 30px; color: #e5252a; font-size: 28px; line-height: 1; isolation: isolate; }
.pdf-button-file-icon::before { position: relative; z-index: 1; }
.pdf-button-file-icon::after { content: ""; position: absolute; z-index: 0; inset: 3px 6px; background: #fff; border-radius: 1px; }
.pdf-export-button:hover { background: #004f7a; }
.pdf-export-button:disabled { opacity: .6; cursor: wait; }
.pdf-export-button:focus-visible, .pdf-export-dialog button:focus-visible { outline: 3px solid #35ace3; outline-offset: 3px; }
.pdf-export-dialog { width: min(540px, calc(100% - 28px)); max-height: calc(100dvh - 32px); padding: 32px; border: 1px solid #d4e4ed; border-radius: 18px; color: #233f50; box-shadow: 0 24px 90px #102b4c44; overflow-y: auto; }
.pdf-export-dialog::backdrop { background: #10283bc0; backdrop-filter: blur(3px); }
.pdf-dialog-close { position: absolute; top: 12px; right: 16px; border: 0; background: transparent; color: #526c7b; font-size: 30px; line-height: 1.2; cursor: pointer; }
.pdf-dialog-icon { display: inline-flex; padding: 10px 14px; background: #eaf6fc; color: #00689f; border-radius: 12px; font-size: 25px; margin-bottom: 14px; }
.pdf-export-dialog h2 { font-size: 25px; margin: 0 0 8px; }
.pdf-export-subtitle { color: #668091; font-size: 14px; overflow-wrap: anywhere; }
.pdf-export-dialog label { display: block; margin: 18px 0 7px; font-weight: 600; }
.pdf-export-dialog label span { color: #c34432; }
.pdf-export-dialog input:not([type=hidden]) { width: 100%; min-width: 0; height: 46px; border: 1px solid #bdcfda; border-radius: 7px; padding: 10px 12px; background: #fff; color: #233f50; }
.pdf-export-dialog input:focus { outline: 2px solid #38a6dd; outline-offset: 1px; }
.pdf-export-dialog small { display: block; margin-top: 7px; color: #647c8b; font-size: 12px; }
.pdf-captcha-row { display: flex; gap: 10px; align-items: center; }
.pdf-captcha-row > input { flex: 1; }
.pdf-captcha-row button { flex: 0 0 170px; border: 1px solid #bdcfda; border-radius: 7px; background: #f0f6fa; min-height: 54px; padding: 0; overflow: hidden; cursor: pointer; }
.pdf-captcha-row img { display: block; width: 100%; height: auto; }
.pdf-captcha-row img[hidden] { display: none; }
.pdf-export-policy { padding: 12px 14px; margin: 20px 0 12px; background: #f2f6f8; border-radius: 7px; color: #5b7180; font-size: 12px; line-height: 1.8; }
.pdf-export-message { font-size: 14px; color: #ae3c2b; overflow-wrap: anywhere; }
.pdf-export-message:empty { display: none; }
.pdf-export-message.is-success { color: #16713f; }
.pdf-export-dialog form > .pdf-export-button { width: 100%; }
@media (max-width: 575px) { .pdf-export-panel { align-items: stretch; flex-direction: column; padding: 23px; gap: 20px; } .pdf-export-dialog { padding: 24px 20px; } .pdf-captcha-row button { flex-basis: 145px; } }
