.document-content { max-width: 1500px; }
.document-heading { margin-bottom: 20px; }
.document-heading h1 { max-width: 1100px; font-size: clamp(25px, 2.7vw, 34px); line-height: 1.3; overflow-wrap: anywhere; }
.document-kicker { display: flex; align-items: center; gap: 12px; color: #475467; margin-bottom: 18px; font-size: 16px; }
.document-kicker .file-icon { width: 36px; height: 40px; }
.document-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.document-actions .button { min-height: 44px; }
.document-copy-feedback { min-height: 24px; color: #087443; font-size: 16px; margin: 0 0 16px; }
.document-identification, .document-reader, .document-versions { margin-bottom: 28px; }
.document-metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; margin: 0; padding: 28px; }
.document-metadata dt { color: #667085; font-size: 16px; margin-bottom: 7px; }
.document-metadata dd { margin: 0; color: #123950; font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.metadata-wide { grid-column: 1 / -1; }
.document-notice { border: 1px solid #e3c87d; background: #fffaf0; border-radius: 12px; padding: 18px 22px; margin-bottom: 24px; color: #614d1b; font-size: 17px; line-height: 1.6; }
.document-notice p { margin: 0 0 8px; }
.document-notice p:last-child { margin-bottom: 0; }
.document-notice a { color: #075b99; font-weight: 600; }
.document-footnote { padding: 0 28px 22px; color: #667085; font-size: 16px; line-height: 1.65; margin: 0; }
.document-pdf-viewer { display: block; width: 100%; height: 850px; border: 0; background: #f2f4f7; margin-bottom: 22px; }
.document-reader .report-page-figure { margin: 24px; }
.document-reader .report-page-figure img { height: auto; max-width: 100%; border: 1px solid #e4e7ec; border-radius: 4px; }
.document-version-list { list-style: none; margin: 0; padding: 0; }
.document-version-list li { padding: 26px 28px; display: flex; justify-content: space-between; gap: 28px; border-bottom: 1px solid #e4e7ec; }
.document-version-list strong { font-size: 18px; color: #123950; display: inline-block; margin-right: 12px; }
.document-version-list span { font-size: 16px; color: #667085; }
.document-version-list p { margin: 10px 0; font-size: 17px; line-height: 1.6; color: #475467; }
.document-version-list small { font-size: 16px; color: #667085; }
.version-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.document-integrity { margin: 22px 28px; border: 1px solid #e4e7ec; border-radius: 8px; }
.document-integrity .report-details-body { font-size: 17px; line-height: 1.6; }
.document-integrity code { display: block; padding: 16px; background: #f2f4f7; border-radius: 6px; font-size: 16px; overflow-wrap: anywhere; }
.document-related { padding: 28px; margin-bottom: 28px; }
.document-related h2 { margin: 0 0 12px; font-size: 22px; color: #123950; }
.document-related p { font-size: 18px; line-height: 1.6; color: #475467; }
.document-source-location { font-size: 17px; color: #075b99; padding: 20px 28px 0; line-height: 1.6; }
.source-sheet-table td.source-cell-highlight { background: #d9f0ff; box-shadow: inset 0 0 0 2px #0969ac; color: #073b63; font-weight: 700; }
@media (max-width: 1100px) {
  .document-version-list li { flex-direction: column; gap: 16px; }
  .document-pdf-viewer { height: 650px; }
}
@media (max-width: 599px) {
  .amendment-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .amendment-footer .button { width: 100%; justify-content: center; }
  .amendment-footer .source-link { min-height: 44px; justify-content: center; }
  .document-heading h1 { font-size: 25px; }
  .document-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .document-actions .button { width: 100%; justify-content: center; }
  .document-metadata { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px; }
  .document-metadata dd { font-size: 17px; }
  .document-footnote { padding-left: 22px; padding-right: 22px; }
  .document-version-list li { padding: 22px; }
  .version-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .version-actions .button { justify-content: center; }
  .document-reader .report-page-figure { margin: 14px; }
  .document-integrity { margin: 22px; }
  .document-pdf-viewer { height: 530px; }
}
