header.topbar{padding:8px 12px;gap:12px;align-items:center}header.topbar .brand{gap:7px;flex-shrink:0}header.topbar .eyebrow{display:none}header.topbar .brand img{width:30px;height:30px}header.topbar .brand strong{font-size:1.05rem}header.topbar .actions{min-width:0;gap:6px;align-items:center;overflow:visible;flex-wrap:wrap}header.topbar .actions>button,header.topbar .actions>select,.pdf-toolbar-menu>summary{min-height:38px;padding:7px 10px;font-size:.86rem}header.topbar .save-as-select{width:148px;min-width:0;max-width:148px}header.topbar .ds-language-control{padding:0;min-width:0}header.topbar .ds-language-control select{max-width:118px;min-height:38px;padding:6px;font-size:.82rem}header.topbar .ds-language-control>span{display:none}header.topbar #ocrButton{display:inline-flex;gap:6px;align-items:center;min-width:66px}.pdf-ocr-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}.pdf-toolbar-menu{position:relative;flex:none}.pdf-toolbar-menu>summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:700;white-space:nowrap}.pdf-toolbar-menu>summary::-webkit-details-marker{display:none}.pdf-toolbar-menu>summary::after{content:'⌄';font-size:1rem;line-height:1}.pdf-toolbar-menu[open]>summary{border-color:var(--purple);color:var(--purple-dark);background:#f4efff}.pdf-toolbar-menu>summary:focus-visible{outline:3px solid #9cc4ec;outline-offset:2px}.pdf-toolbar-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:100;width:max-content;min-width:220px;max-width:min(320px,calc(100vw - 24px));max-height:min(70vh,480px);overflow:auto;padding:6px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);display:grid;gap:2px}.pdf-toolbar-menu:not([open])>.pdf-toolbar-popover{display:none}.pdf-toolbar-popover button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border-color:transparent;border-radius:6px;padding:10px 12px;min-height:42px}.pdf-toolbar-popover button:hover:not(:disabled),.pdf-toolbar-popover button:focus-visible{background:#f4efff;border-color:#9cc4ec}header.topbar button.pdf-history-icon{position:relative;width:38px;min-width:38px;padding:0;text-indent:-9999px;overflow:hidden}.pdf-history-icon::before{position:absolute;inset:0;display:grid;place-items:center;text-indent:0;font-size:1.35rem;font-weight:600}.pdf-history-icon#undoButton::before{content:'↶'}.pdf-history-icon#redoButton::before{content:'↷'}.pdf-history-icon>.action-icon{display:none}header.topbar .ds-apps-link{padding:7px 9px;min-height:38px}header.topbar .actions>#pagesButton{min-width:38px}@media(max-width:800px){header.topbar{padding:6px 8px}header.topbar .actions{justify-content:flex-start;gap:5px;flex-wrap:wrap;overflow:visible;width:100%}header.topbar .save-as-select{width:125px;max-width:125px}header.topbar .ds-language-control select{max-width:100px}.pdf-toolbar-popover{position:fixed;top:auto;right:10px;margin-top:6px;max-width:calc(100vw - 20px)}header.topbar .actions>button,header.topbar .actions>select,.pdf-toolbar-menu>summary{min-height:40px;padding:7px 9px}}

header.topbar .pdf-toolbar-popover .ds-language-control{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px}header.topbar .pdf-toolbar-popover .ds-language-control>span{display:block;font-size:.86rem}header.topbar .pdf-toolbar-popover .ds-language-control select{max-width:135px}@media(max-width:800px){header.topbar .pdf-toolbar-popover .ds-language-control select{max-width:135px}}
@media(max-width:800px){header.topbar .actions>button.ds-apps-link{width:40px;min-width:40px;padding:0;font-size:0}header.topbar .actions>button.ds-apps-link::before{content:'▦';font-size:20px}}
