.textLayer{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light only;text-align:initial;letter-spacing:normal;word-spacing:normal;caret-color:canvastext;--min-font-size:1;--text-scale-factor:calc(var(--total-scale-factor) * var(--min-font-size));--min-font-size-inv:calc(1 / var(--min-font-size));--scale-round-x:1px;--scale-round-y:1px;overflow:clip}.textLayer :is(span,br){color:#0000;white-space:pre;cursor:text;transform-origin:0 0;-webkit-user-select:text;user-select:text;position:absolute}.textLayer>:not(.markedContent),.textLayer .markedContent span:not(.markedContent){z-index:1;--font-height:0;font-size:calc(var(--text-scale-factor) * var(--font-height));--scale-x:1;--rotate:0deg;transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv))}.textLayer .markedContent{display:contents}.textLayer span[role=img]{-webkit-user-select:none;user-select:none;cursor:default}.textLayer ::selection{color:#0000;background:#4974f64d}.textLayer br::selection{background:0 0}.textLayer[data-main-rotation="90"]{transform:rotate(90deg)translateY(-100%)}.textLayer[data-main-rotation="180"]{transform:rotate(180deg)translate(-100%,-100%)}.textLayer[data-main-rotation="270"]{transform:rotate(270deg)translate(-100%)}*{box-sizing:border-box}body{color:#292c33;background:#f7f8fa;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit;background:#fff;border:1px solid #dfe2e7;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 14px;font-size:14px;font-weight:550;display:inline-flex}button:hover:not(:disabled){background:#f3f4f6}button:disabled{opacity:.42;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #4173ca}header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:16px;height:80px;padding:0 38px;display:flex}.brand{letter-spacing:-.5px;align-items:center;gap:12px;font-size:19px;font-weight:750;display:flex}.brand-icon{background:#f6d74e;border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.header-actions{gap:10px;display:flex}.primary{background:#f6d74e;border-color:#e6c43d}.primary:hover:not(:disabled){background:#efca33}.welcome{text-align:center;max-width:750px;margin:70px auto 30px;padding:0 22px}.eyebrow{letter-spacing:2px;color:#646b76;font-size:12px;font-weight:650}h1{letter-spacing:-1.8px;margin:22px 0 17px;font-size:46px;font-weight:720;line-height:1.2}mark{color:inherit;background:linear-gradient(#0000 55%,#fae789 55%);padding:0 5px}.intro p{color:#646b76;font-size:16px}.dropzone{background:#fff;border:1.5px dashed #cbd0d9;border-radius:16px;flex-direction:column;gap:14px;width:100%;margin:38px 0 8px;padding:40px 15px;display:flex;box-shadow:0 4px 18px #20253003}.dropzone strong{font-size:18px;font-weight:600}.dropzone>span:not(.upload-icon):not(.browse){color:#646b76;font-size:14px}.upload-icon{color:#806718;background:#fff8d8;border-radius:16px;place-items:center;width:65px;height:65px;margin-bottom:6px;display:grid}.browse{background:#f6d74e;border-radius:10px;align-items:center;gap:12px;margin-top:10px;padding:12px 20px;display:flex}.privacy{color:#646b76;justify-content:center;align-items:center;gap:7px;margin-top:22px;font-size:13px;display:flex}@media (max-width:640px){header{height:72px;padding:0 15px}.brand{font-size:16px}.header-actions button{padding:10px;font-size:0}.welcome{margin-top:45px}h1{font-size:36px}.privacy{font-size:12px}.dropzone strong{font-size:16px}}.local-badge{letter-spacing:1px;color:#737983;border:1px solid #e4e7eb;border-radius:5px;margin-left:8px;padding:5px 8px;font-size:10px;font-weight:600}.welcome-steps{text-align:left;grid-template-columns:repeat(3,1fr);gap:24px;margin:48px -25px 55px;display:grid}.welcome-steps>div{flex-direction:column;gap:9px;display:flex}.welcome-steps svg{color:#857530;margin-bottom:4px}.welcome-steps strong{font-size:14px;font-weight:600}.welcome-steps span{color:#646b76;font-size:13px}footer{color:#646b76;border-top:1px solid #e3e6eb;justify-content:space-between;max-width:1100px;margin:35px auto 0;padding:22px 25px;font-size:12px;display:flex}.dragging{border-color:#b59723;background:#fffbed!important}.has-document{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.has-document header{flex-shrink:0;height:70px}.document-bar{background:#fff;border-bottom:1px solid #e6e8ed;align-items:center;gap:14px;min-height:57px;padding:10px 28px;display:flex}.filename{flex:1;align-items:center;gap:9px;min-width:0;font-size:14px;display:flex}.filename strong{white-space:nowrap;text-overflow:ellipsis;max-width:400px;font-weight:550;overflow:hidden}.filename>span{color:#646b76;white-space:nowrap;margin-left:6px;font-size:12px}.save-status{color:#6b7774;align-items:center;gap:5px;font-size:12px;display:flex}.document-bar>button{border:0;min-height:32px;padding:6px}.annotation-toolbar{z-index:15;background:#fff;border-bottom:1px solid #e0e4e9;flex-shrink:0;justify-content:center;align-items:center;gap:14px;padding:9px 14px;display:flex}.tool-group{align-items:center;gap:3px;display:flex}.annotation-toolbar button{border:0;padding:9px 11px;font-size:13px}.annotation-toolbar .active-tool{color:#594912;background:#fff4b9}.divider{background:#e4e7eb;width:1px;height:24px}.palette{align-items:center;gap:7px;display:flex}.palette .swatch{background:var(--swatch);color:#30343b;border:3px solid #fff;border-radius:50%;width:27px;height:27px;min-height:27px;padding:0;box-shadow:0 0 0 1px #e2e4e8}.palette .swatch:hover{background:var(--swatch)}.palette .active{box-shadow:0 0 0 1.5px #6c6f77}.workspace{flex:1;min-height:0;display:flex}.reader-column{flex-direction:column;flex:1;min-width:0;display:flex}.reader-controls{background:#fbfcfd;border-bottom:1px solid #e1e5eb;flex-shrink:0;justify-content:space-between;align-items:center;height:55px;padding:0 23px;display:flex}.reader-controls button,.search-bar button{background:0 0;border:0;min-height:36px;padding:8px}.page-control{color:#646b76;align-items:center;gap:8px;font-size:13px;display:flex}.page-control input{text-align:center;color:#33383e;appearance:textfield;background:#fff;border:1px solid #dce0e7;border-radius:6px;width:39px;height:28px}.page-control input::-webkit-inner-spin-button{appearance:none}.zoom-value{text-align:center;min-width:42px;font-size:13px}.tool-hint{color:#646b76;text-align:center;min-height:34px;padding:10px;font-size:12px}.reader{overscroll-behavior:contain;scrollbar-width:thin;flex:1;padding:8px 24px 30px;overflow:auto}.page-wrap{flex-direction:column;align-items:center;width:max-content;min-width:100%;scroll-margin:8px;display:flex}.paper{isolation:isolate;background:#fff;flex-shrink:0;position:relative;overflow:hidden;box-shadow:0 2px 8px #2531481a}.paper>canvas{width:100%;height:100%;position:absolute;inset:0}.paper .textLayer{z-index:2;opacity:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;line-height:1;position:absolute;inset:0}.textLayer span::selection{background:#4974f64d}.textLayer .search-match{background:#f6ad4059;border-bottom:2px solid #d58220}.paper .no-select{pointer-events:none;-webkit-user-select:none;user-select:none}.marks{pointer-events:none;z-index:3;width:100%;height:100%;position:absolute;inset:0}.marks .annotation{pointer-events:visiblePainted;cursor:pointer;outline:none}.marks .chosen polygon,.marks .chosen polyline,.marks .chosen line{filter:drop-shadow(0 0 1px #353941)}.marks .chosen polygon,.marks .annotation:focus-visible polygon{stroke:#5d6572;stroke-width:1px;stroke-dasharray:3 3}.marks.drawing{pointer-events:all;touch-action:none;cursor:crosshair}.marks.drawing .annotation{pointer-events:none}.marks .note-marker{pointer-events:all}.page-label{color:#646b76;padding:13px 0 22px;font-size:12px}.page-placeholder{color:#646b76;padding:25px;font-size:14px}.rendering{z-index:4;color:#78808b;background:#ffffffe6;border-radius:6px;padding:6px 10px;font-size:12px;position:absolute;bottom:12px;right:12px}.reader-footer{color:#646b76;background:#f9fafc;border-top:1px solid #e0e4e9;flex-shrink:0;align-items:center;gap:5px;padding:9px 20px;font-size:11px;display:flex}.footer-key{margin-left:auto}.sidebar{background:#fff;border-left:1px solid #e0e4e9;flex-direction:column;flex-shrink:0;width:300px;display:flex;overflow:auto}.side-heading{border-bottom:1px solid #edf0f3;justify-content:space-between;align-items:center;padding:15px 16px;display:flex}.side-heading h2{align-items:center;gap:7px;margin:0;font-size:14px;font-weight:650;display:flex}.side-heading h2 span{color:#757d89;background:#f1f3f6;border-radius:5px;padding:2px 7px;font-size:12px}.side-heading button,.editor-heading button{border:0;min-height:28px;padding:4px}.annotation-list{flex:1;padding:16px}.empty-notes{text-align:center;color:#646b76;padding:50px 0}.empty-notes>span{background:#f5f6f9;border-radius:14px;place-items:center;width:55px;height:55px;display:inline-grid}.empty-notes h3{color:#6f7682;margin-top:20px;font-size:14px;font-weight:550}.empty-notes p{font-size:13px;line-height:1.7}.annotation-card{text-align:left;border:1px solid #e5e8ed;border-left:3px solid var(--annotation-color);flex-direction:column;align-items:stretch;gap:10px;width:100%;margin-bottom:10px;padding:13px 12px;font-weight:400;display:flex;box-shadow:0 2px 5px #20273303}.annotation-card.selected{background:#fffdf2;border-color:#dcc670}.annotation-meta{color:#646b76;text-transform:capitalize;align-items:center;gap:6px;font-size:11px;display:flex}.annotation-meta span{flex:1}.quote{overflow-wrap:anywhere;-webkit-line-clamp:4;-webkit-box-orient:vertical;font-size:13px;line-height:1.55;display:-webkit-box;overflow:hidden}.note-text{color:#6e7580;white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid #eceef1;padding-top:8px;font-size:12px;line-height:1.6}.note-text svg{margin-right:5px}.annotation-editor{background:#fffdf4;border-bottom:1px solid #e9e4cb;flex-direction:column;gap:13px;padding:16px;display:flex}.editor-heading{text-transform:capitalize;justify-content:space-between;align-items:center;font-size:13px;display:flex}.annotation-editor label{margin-bottom:-7px;font-size:13px}.annotation-editor textarea{resize:vertical;border:1px solid #dddccf;border-radius:8px;width:100%;min-height:110px;max-height:250px;padding:10px;font-size:14px;line-height:1.5}.editor-actions{justify-content:space-between;display:flex}.editor-actions button{min-height:36px;padding:8px 11px;font-size:12px}.clear-area{border-top:1px solid #eef0f3;padding:14px}.clear-button{color:#646b76;border:0;width:100%;min-height:30px;padding:5px;font-size:11px}.clear-area p{font-size:13px;line-height:1.5}.clear-area button:not(.clear-button){margin:3px;font-size:12px}.selection-popup{z-index:50;background:#fff;border:1px solid #e1e3e8;border-radius:12px;gap:4px;padding:5px;display:flex;position:fixed;box-shadow:0 5px 25px #1e26392b}.selection-popup button{min-height:36px;padding:8px 12px;font-size:13px}.search-bar{background:#fff;border-bottom:1px solid #e5e8ed;align-items:center;gap:8px;padding:8px 20px;display:flex}.search-bar input{border:0;outline:none;flex:1;min-width:50px;padding:8px;font-size:14px}.search-bar>span{white-space:nowrap;font-size:12px}.busy,.error{z-index:60;justify-content:center;align-items:center;gap:10px;padding:12px 20px;font-size:14px;display:flex}.busy{background:#fff6c6}.error{color:#a03928;background:#fff0ed}.error button{background:0 0;border:0;min-height:25px;padding:3px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.focus-mode header,.focus-mode .document-bar,.focus-mode .sidebar{display:none}.focus-mode .workspace{height:100%}.focus-mode{height:100dvh}.app svg{flex-shrink:0}@media (max-width:1100px){.tool-label,.local-badge{display:none}.sidebar{width:270px}.footer-key{display:none}}@media (max-width:750px){.sidebar{z-index:20;border-radius:12px 0 0 12px;width:min(330px,90vw);position:absolute;top:180px;bottom:99px;right:0;box-shadow:-8px 0 25px #242d441c}.annotation-toolbar{padding:7px 10px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #dbe0e6;flex-wrap:wrap;gap:6px 12px;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -2px 12px #2932430a}.annotation-toolbar .tool-group:first-child{justify-content:space-around;width:100%}.annotation-toolbar .tool-group:first-child button{min-width:44px;min-height:40px}.annotation-toolbar>.divider{display:none}.annotation-toolbar .swatch{width:30px;height:30px;min-height:30px}.has-document .workspace{padding-bottom:103px}.document-bar{min-height:46px;padding:7px 13px}.filename strong{max-width:190px;font-size:13px}.filename>span{display:none}.save-status{max-width:100px;font-size:10px}.reader-controls{flex-wrap:wrap;gap:0;height:auto;min-height:49px;padding:0 5px}.reader-controls button{min-width:34px;min-height:40px;padding:8px}.reader-controls .tool-group{gap:0}.zoom-value{min-width:35px;font-size:12px}.page-control{gap:4px;font-size:12px}.page-control input{width:30px}.reader{padding:8px 12px 20px}.reader-footer{padding:8px;font-size:10px}.tool-hint{font-size:11px}.welcome-steps{text-align:center;gap:20px;margin:38px 0}.welcome-steps>div{align-items:center}.welcome-steps strong{font-size:12px}.welcome-steps span{font-size:11px}.search-bar{padding:5px 8px}.search-bar>span{font-size:11px}.has-document header{height:65px}.sidebar .clear-button{min-height:44px}.focus-mode .sidebar{top:60px}.welcome{margin-top:38px}footer{margin-top:15px;font-size:11px}.intro p{font-size:14px}.dropzone{padding:28px 12px}.brand-icon{width:32px;height:32px}.brand{gap:8px}.save-status svg{display:none}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}@media (max-width:380px){.reader-controls{justify-content:center}.welcome-steps{grid-template-columns:1fr}.welcome-steps span{font-size:13px}footer span{display:none}}
