.annotation-hint{padding:12px 18px;margin:0;background:#f1f6fc;font-size:.82rem}.annotated-page{position:relative;isolation:isolate}.annotated-page>img{display:block;width:100%;height:auto;user-select:none;-webkit-user-select:none;pointer-events:none}.pdf-text-layer,.pdf-highlights{position:absolute;inset:0;overflow:hidden}.pdf-text-layer{z-index:2;user-select:text;-webkit-user-select:text;cursor:text;touch-action:pan-x pan-y pinch-zoom;-webkit-text-size-adjust:none;text-size-adjust:none}.pdf-word{position:absolute;color:transparent;white-space:pre;font-family:Arial,sans-serif;line-height:1;transform-origin:left top;cursor:text}.pdf-word::selection{background:rgba(45,112,215,.3);color:transparent}.pdf-highlights{z-index:1;pointer-events:none;mix-blend-mode:multiply}.pdf-highlight{position:absolute;border-radius:2px;background:#ffe56b;opacity:.62}.pdf-highlight[data-color=green]{background:#88e3a0}.pdf-highlight[data-color=blue]{background:#86c5ff}.pdf-highlight.is-target{outline:2px solid #ba6700;opacity:.8}.layer-status{margin:0;padding:0 14px 8px;font-size:.73rem}.layer-status:empty{display:none}.page-notes{padding:0 14px 12px}.page-notes summary{font-size:.78rem}.page-note{padding:10px 12px;border-left:4px solid #dec043;background:#fffbed;border-radius:5px}.page-note[data-color=green]{border-color:#51a96b;background:#effaf2}.page-note[data-color=blue]{border-color:#579cdb;background:#eef7ff}.page-note p{white-space:pre-wrap;font-size:.8rem;margin:6px 0;overflow-wrap:anywhere}.page-note .text-button{font-size:.8rem}.selection-actions{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:30;display:flex;gap:14px;align-items:center;padding:10px 14px;max-width:calc(100vw - 24px);width:max-content;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 24px #17314730;font-size:.8rem}.selection-actions[hidden]{display:none}.selection-actions .button{padding:9px 13px}.note-dialog{border:1px solid var(--line);border-radius:16px;padding:24px;width:min(580px,calc(100vw - 24px));max-height:85dvh;overflow-y:auto;color:var(--ink);background:white}.note-dialog::backdrop{background:#10243580}.note-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.note-dialog-heading h2{font-size:1.3rem;margin:0}.note-dialog-heading button{white-space:nowrap}.note-dialog .stack{gap:10px}.note-quote{white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0;padding:12px 15px;border-left:4px solid #dbb732;background:#fffbed;max-height:200px;overflow-y:auto;font-size:.9rem}.note-error{color:#9b330d;font-size:.85rem;white-space:pre-wrap}.note-error:empty{display:none}.notes-filters{display:flex;gap:18px;align-items:end;flex-wrap:wrap}.notes-filters>div{flex:1;min-width:200px}.notes-filters label{display:block;margin-bottom:8px}.saved-note-body{white-space:pre-wrap;overflow-wrap:anywhere}.saved-note[data-color=green] .note-quote{background:#effaf2;border-color:#51a96b}.saved-note[data-color=blue] .note-quote{background:#eef7ff;border-color:#579cdb}.note-dialog button:disabled{opacity:.6;cursor:wait}.page-notes[open]>summary{margin-bottom:10px}@media(max-width:720px){.selection-actions{bottom:calc(65px + env(safe-area-inset-bottom));gap:8px;padding:8px}.note-dialog{padding:16px}.note-dialog textarea{font-size:16px}.annotation-hint{padding:10px;font-size:.77rem}.note-dialog .note-quote{max-height:25dvh}}
