.thesis-pdf-overlay{position:fixed;right:max(10px,env(safe-area-inset-right));top:42%;z-index:40;display:flex;flex-direction:column;gap:2px;padding:4px;border:1px solid rgba(128,128,128,.25);border-radius:8px;background:var(--bg,#fff);box-shadow:0 2px 10px rgba(0,0,0,.04);font:12px/1.3 system-ui,sans-serif}
.thesis-pdf-overlay a{display:block;padding:7px 8px;color:var(--text-muted,#666);text-decoration:none;white-space:nowrap;border-radius:4px}
.thesis-pdf-overlay a:hover,.thesis-pdf-overlay a:focus-visible{color:var(--text-main,#111);background:var(--bg-soft,#f0f0f0)}
.thesis-pdf-overlay a:focus-visible{outline:2px solid currentColor;outline-offset:1px}
@media(max-width:1100px){.thesis-pdf-overlay{top:calc(82px + env(safe-area-inset-top));right:max(6px,env(safe-area-inset-right));font-size:11px;padding:2px}.thesis-pdf-overlay a{padding:6px}}
@media print{.thesis-pdf-overlay{display:none}}
