:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors:active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors:active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#111c2b;background:#f7f9fc;font-synthesis:none;--bg:#f7f9fc;--surface:#fff;--surface2:#f4f7fb;--text:#111c2b;--muted:#677489;--border:#dce3ec;--blue:#2868ee;--blue-soft:#eaf1ff;--green:#16875c;--green-soft:#e5f6ee;--red:#d93838;--red-soft:#fff0f0;--shadow:0 10px 30px rgba(35,52,78,.06)}:root[data-theme=dark]{--bg:#101722;--surface:#151e2b;--surface2:#111925;--text:#edf3fb;--muted:#95a3b7;--border:#2b3747;--blue:#6c92ff;--blue-soft:#1a2d56;--green:#55c895;--green-soft:#163b2e;--red:#ff7373;--red-soft:#442326;--shadow:none;color-scheme:dark}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;height:100%;background:var(--bg);color:var(--text)}button,a,input{font:inherit}button{color:inherit}.app-shell{height:100vh;display:flex;flex-direction:column;background:var(--bg)}.header{height:70px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 28px;background:var(--surface);border-bottom:1px solid var(--border);flex:none}.brand{display:flex;align-items:center;gap:10px}.header-logo{height:38px;width:auto}:root[data-theme=dark] .header-logo{background:#fff;border-radius:8px;padding:6px 10px}.doc-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);white-space:nowrap}.doc-meta strong{color:var(--text);font-weight:600}.header-actions{justify-self:end;display:flex;gap:7px}.header button,.viewer-toolbar button,.text-toolbar>button,.search-row button,.modal-head button{border:0;background:transparent;border-radius:8px;padding:8px;display:flex;cursor:pointer}.header button:hover,.viewer-toolbar button:hover,.text-toolbar>button:hover,.search-row button:hover,.modal-head button:hover{background:var(--surface2)}.start-main{flex:1;display:grid;place-items:center;padding:40px}.hero{width:min(720px,100%);text-align:center}.hero-logo{width:min(480px,90%);height:auto;margin-bottom:28px}:root[data-theme=dark] .hero-logo{background:#fff;border-radius:14px;padding:14px 20px}.dropzone{background:var(--surface);border:1.5px dashed #b7c5d9;border-radius:18px;min-height:330px;padding:48px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:.18s;box-shadow:var(--shadow)}.dropzone:hover,.dropzone.dragging{border-color:var(--blue);background:var(--blue-soft);transform:translateY(-1px)}.upload-icon{width:64px;height:64px;border:1px solid var(--border);border-radius:15px;display:grid;place-items:center;color:var(--blue);background:var(--surface);margin-bottom:18px}.dropzone h2{margin:0 0 8px;font-size:22px}.dropzone p{margin:0 0 22px;color:var(--muted)}.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--blue);background:var(--blue);color:#fff;border-radius:9px;padding:10px 16px;cursor:pointer;font-weight:600}.limits{margin-top:18px;color:var(--muted);font-size:12px}.privacy-note{color:var(--muted);font-size:12px;margin-top:18px}.error-banner,.inline-error{background:var(--red-soft);color:var(--red);border:1px solid color-mix(in srgb,var(--red) 25%,transparent);border-radius:10px;padding:11px 14px}.error-banner{margin-top:16px}.inline-error{margin:8px 22px}.legal-links{display:flex;gap:10px;justify-content:center;align-items:center;margin-top:14px;font-size:12px;color:var(--muted)}.legal-links a{color:var(--muted);text-decoration:none}.legal-links a:hover{color:var(--blue)}.legal-main{flex:1;display:flex;justify-content:center;padding:48px 24px;overflow-y:auto}.legal-page{max-width:680px;width:100%;text-align:left}.legal-back{display:inline-block;margin-bottom:24px;color:var(--blue);text-decoration:none;font-weight:600}.legal-page h1{font-size:28px;margin:0 0 20px}.legal-page h2{font-size:15px;margin:26px 0 8px;color:var(--text)}.legal-page p{color:var(--muted);line-height:1.65;margin:0}.legal-note{margin-top:32px;padding:12px 16px;background:var(--blue-soft);border-radius:10px;color:var(--muted);font-size:13px}.statusbar{height:60px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 28px;flex:none}.status-items{display:flex;gap:34px;align-items:center}.status-items>div{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.status-items>div.ok{color:var(--text)}.status-icon{width:19px;height:19px;border:1.5px solid var(--blue);color:var(--blue);border-radius:50%;display:grid;place-items:center}.status-progress{display:flex;align-items:center;gap:12px;font-size:12px}.badge{background:var(--blue-soft);color:var(--blue);border-radius:7px;padding:5px 9px}.badge.done{background:var(--green-soft);color:var(--green)}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:155px minmax(420px,1fr) minmax(380px,.92fr);gap:12px;padding:12px 22px;background:var(--bg)}.thumb-panel,.pdf-panel,.text-panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;min-height:0;overflow:hidden}.thumb-panel{display:flex;flex-direction:column}.panel-title{padding:18px 16px 10px;font-weight:700;font-size:11px;letter-spacing:.08em}.thumb-scroll{padding:6px 10px 18px;overflow:auto}.thumb{width:100%;position:relative;border:1px solid transparent;background:transparent;border-radius:9px;padding:7px 5px 6px;margin:2px 0 9px;cursor:pointer;color:var(--muted)}.thumb:hover{background:var(--surface2)}.thumb.active{border-color:var(--blue);background:var(--blue-soft);color:var(--blue);box-shadow:0 0 0 1px color-mix(in srgb,var(--blue) 20%,transparent)}.thumb-canvas{display:grid;place-items:center;overflow:hidden;min-height:110px}.thumb .react-pdf__Page{box-shadow:0 1px 5px #1e283c1f}.warning-dot{position:absolute;right:7px;bottom:8px;width:7px;height:7px;border-radius:50%;background:#e49a2f}.tiny-muted{font-size:11px;color:var(--muted);padding:8px}.pdf-panel{display:flex;flex-direction:column}.viewer-toolbar,.text-toolbar{height:54px;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 16px;flex:none}.viewer-toolbar{gap:5px}.page-control{display:flex;align-items:center;gap:4px}.page-control input{width:42px;padding:7px 4px;border:1px solid var(--border);border-radius:7px;text-align:center;background:var(--surface);color:var(--text)}.page-control span{font-size:12px;color:var(--muted);margin-right:5px}.viewer-toolbar button:disabled{opacity:.35;cursor:default}.toolbar-divider{height:24px;width:1px;background:var(--border);margin:0 8px}.toolbar-spacer{flex:1}.zoom-value{font-size:12px;min-width:44px;text-align:center;color:var(--muted)}.pdf-stage{flex:1;overflow:auto;background:#edf1f5;display:flex;justify-content:center;padding:18px}.pdf-stage .react-pdf__Page{box-shadow:0 3px 16px #1d263229;margin:auto}:root[data-theme=dark] .pdf-stage{background:#0c121a}.text-panel{display:flex;flex-direction:column}.text-toolbar{justify-content:space-between}.tabs{height:100%;display:flex;gap:18px}.tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:0 4px;color:var(--muted);cursor:pointer}.tabs button.active{color:var(--blue);border-color:var(--blue);font-weight:600}.search-row{margin:11px 18px 0;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;padding:0 9px;color:var(--muted)}.search-row input{flex:1;border:0;outline:0;background:transparent;color:var(--text);padding:8px;font-size:12px}.text-content{flex:1;overflow:auto;padding:22px 24px}.page-label{font-weight:700;color:var(--blue);font-size:12px;margin-bottom:18px;display:flex;align-items:center;gap:8px}.source-pill{font-weight:500;color:var(--muted);background:var(--surface2);padding:4px 7px;border-radius:6px}.markdown-view{line-height:1.65;font-size:14px}.markdown-view h1{font-size:24px;margin:0 0 22px}.markdown-view h2{font-size:19px;margin:28px 0 10px}.markdown-view h3{font-size:16px;margin:24px 0 9px}.markdown-view p{margin:0 0 14px}.markdown-view li{margin:5px 0}.code-view,.plain-view{white-space:pre-wrap;word-break:break-word;margin:0;font:13px/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--text);background:transparent}.quality-warning{background:#fff7e6;color:#8a5a11;border:1px solid #efcf8c;border-radius:8px;padding:9px 11px;font-size:12px;margin-bottom:15px}:root[data-theme=dark] .quality-warning{background:#382d18;color:#f5c56b;border-color:#5d4924}.processing-placeholder{height:70%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);gap:10px;text-align:center}.processing-placeholder strong{color:var(--text)}.spinner,.mini-spinner{border:2px solid var(--border);border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}.spinner{width:30px;height:30px}.mini-spinner{width:12px;height:12px}@keyframes spin{to{transform:rotate(360deg)}}.text-footer{height:54px;flex:none;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:12px;color:var(--muted)}.copy-button{display:flex;gap:7px;align-items:center;border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:8px 11px;color:var(--text);cursor:pointer}.bottom-bar{height:66px;flex:none;border-top:1px solid var(--border);background:var(--surface);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 28px}.danger-outline{justify-self:start;color:var(--red);background:transparent;border:1px solid color-mix(in srgb,var(--red) 35%,var(--border));border-radius:9px;padding:9px 12px;display:flex;gap:8px;align-items:center;cursor:pointer}.completion{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.completion.done{color:var(--green)}.completion.done svg{border:1px solid var(--green);border-radius:50%;padding:2px}.exports{justify-self:end;display:flex;align-items:center;gap:8px}.exports a{display:flex;align-items:center;gap:7px;text-decoration:none;color:var(--text);border:1px solid var(--border);border-radius:9px;padding:9px 12px;font-size:12px;background:var(--surface)}.exports a.disabled{opacity:.4;pointer-events:none}.exports .primary{font-size:12px;padding:9px 14px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#060c1459;display:grid;place-items:center;z-index:50;padding:20px}.modal{width:min(460px,100%);background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 20px 70px #0000002e;padding:20px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start}.modal-head h3{margin:0}.modal-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.settings-grid{display:grid;grid-template-columns:1fr auto;gap:13px 20px;margin:24px 0;font-size:13px}.settings-grid span{color:var(--muted)}.modal-note{font-size:12px;color:var(--muted);line-height:1.55;margin:0}.modal-note code{color:var(--text)}@media(max-width:1150px){.workspace{grid-template-columns:120px 1fr 1fr;padding:10px}.status-items{gap:15px}.doc-meta{display:none}.header{grid-template-columns:1fr 1fr}.header-actions{grid-column:2}.bottom-bar{padding:0 12px}.exports a{padding:9px}.exports a{font-size:0}.exports a svg{margin:0}.completion{display:none}}@media(max-width:850px){.workspace{grid-template-columns:95px 1fr}.text-panel{position:fixed;left:105px;right:10px;bottom:76px;top:142px;z-index:8;display:none}.status-items>div:nth-child(2),.status-items>div:nth-child(3){display:none}.exports a{display:none}}
