/* LSUS-550: forces pdf.js's built-in dark toolbar (viewer.css defines its colors via
   light-dark(), which otherwise follows the visitor's OS/browser preference) so every
   visitor sees the same look as the ticket's reference screenshot, not a light toolbar
   for light-mode users. Kept as a separate file (not edited into viewer.css itself) so a
   future pdf.js version upgrade only means re-adding this one link, not re-diffing the
   whole vendored stylesheet. */
:root {
    color-scheme: dark;
}

/* LSUS-550: viewer.css's own @media (max-width: 840px) rule switches the thumbnails
   panel into an overlay that covers the page (inset-inline-start:0 !important on
   #viewerContainer) instead of pushing it aside. Our embed is narrower than 840px by
   design (near-square, ~half page width) — re-applying the normal "push aside" shift
   here keeps the thumbnails panel side-by-side with the page at any width. */
@media all and (max-width: 840px) {
    #outerContainer.viewsManagerOpen #viewerContainer {
        inset-inline-start: var(--viewsManager-width, 0) !important;
    }
}

/* LSUS-550: annotation-editing tools (highlight/free text/draw/stamp/signature/comment)
   don't make sense on a read-only prospectus preview embed — hidden entirely, not just
   moved into the "..." menu (they have no dropdown equivalent to move to). */
#editorModeButtons,
#editorModeSeparator {
    display: none !important;
}

/* Print/Download are normally direct toolbar buttons only above 750px (viewer.css's own
   @media (max-width: 750px) swaps them for labeled copies inside the "..." dropdown
   instead) — our embed is narrower than that by design, so force them to stay as direct
   buttons at any width, and hide the now-redundant dropdown copies. */
#toolbarViewerRight > .toolbarHorizontalGroup.hiddenMediumView {
    display: inline flex !important;
}

#toolbarViewerRight > .verticalToolbarSeparator.hiddenMediumView {
    display: block !important;
}

#secondaryToolbar .visibleMediumView {
    display: none !important;
}
