.document-toolbar { position: sticky; top: 70px; z-index: 900; background: #fff; border-bottom: 1px solid #cbd6db; box-shadow: 0 2px 5px #0000000a; }
.document-toolbar > .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.document-return, .document-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.document-toolbar a { font-size: 14px; color: #086596; text-decoration: underline; }
#document-back-link { font-weight: 700; }
.document-preview { max-width: 1440px; margin: 0 auto; padding: 0 20px 32px; }
.document-status-row { min-height: 44px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 8px 0; }
#document-status { color: #344b57; font-size: 14px; margin: 0; }
#document-retry { border: 1px solid #096b9b; border-radius: 4px; padding: 6px 12px; color: #096b9b; background: #fff; cursor: pointer; font: inherit; }
#pdf-viewer { display: block; width: 100%; height: 78vh; height: 78dvh; min-height: 420px; border: 1px solid #a5b7c1; background: #e8ebed; }
.document-preview .document-noscript { padding: 16px; background: #fff; color: #243238; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 768px) {
  .document-toolbar > .container { gap: 10px; padding-block: 12px; }
  .document-return, .document-actions { gap: 8px 16px; }
  .document-preview { padding-inline: 8px; }
  #pdf-viewer { min-height: 360px; }
}
@media print {
  .document-main { display: none; }
}
