#pdfObjectContextMenu{position:fixed;z-index:10000;padding:5px;min-width:190px;max-width:calc(100vw - 16px);border:1px solid #b89958;border-radius:9px;background:#2c1727;box-shadow:0 8px 24px #0005}
#pdfObjectContextMenu button{width:100%;min-height:40px;margin:0;padding:9px 12px;font:14px/1.4 system-ui;text-align:left;border:0;border-radius:5px;background:transparent;color:#ffe0d9}
#pdfObjectContextMenu button:hover,#pdfObjectContextMenu button:focus-visible{background:#77314e;outline:2px solid #dfb866;outline-offset:-2px}
#dockTools #deleteSelectedText{border-color:#b4697f}
#readerPasswordPanel{align-self:center;flex:0 0 auto;box-sizing:border-box;max-width:100%;width:400px;padding:16px;border:1px solid #b89958;border-radius:12px;margin:10px auto;background:#321527}
#readerPasswordPanel label{font:600 14px/1.4 system-ui;margin:0 0 8px}#readerPasswordPanel input{box-sizing:border-box;width:100%;font:16px/1.4 system-ui;padding:9px}#readerPasswordPanel p{font:12px/1.5 system-ui;margin:8px 0 12px}#readerPasswordPanel>div{display:flex;gap:8px}#readerPasswordPanel button{min-height:40px;flex:1;font-size:14px}
.pdfScanContrast{font:13px/1.5 system-ui;margin:10px 0 0;display:block}.pdfScanContrast select{display:block;box-sizing:border-box;width:100%;min-height:36px;font-size:14px;margin-top:5px}
#readerViewport[data-scan-contrast=clear] .continuousPDFCanvas{filter:contrast(1.12) brightness(1.02)}
#readerViewport[data-scan-contrast=high] .continuousPDFCanvas{filter:grayscale(1) contrast(1.4) brightness(1.03)}
html[data-theme=light] #pdfObjectContextMenu,html[data-theme=light] #readerPasswordPanel{background:#fff;border-color:#becfc3;color:#263c30}html[data-theme=light] #pdfObjectContextMenu button{color:#862442}html[data-theme=light] #pdfObjectContextMenu button:hover,html[data-theme=light] #pdfObjectContextMenu button:focus-visible{background:#f7e9ef}
