:root{--ap-bg: #f2f3f5;--ctrl-bg: #f2f3f5;--ap-border: #b7c0cc;--soft-border: #e5e7eb;--page-shadow: rgba(0,0,0,.06);--icon: #6b7280;--icon-hover: #374151;--focus: #1e88e5;--tooltip-bg: #111827;--tooltip-fg: #fff;--left-w: 340px;--active-outline: #10b981;--active-fill: rgba(16,185,129,.18);--bs-card-border-color: #dee2e6;--bs-border-radius: .375rem;--bs-card-bg: #fff;--bs-primary: #0d6efd;--bs-secondary-color: #6c757d;--bs-body-font-family: "Inter", sans-serif;--vh: 100dvh;--toolbar-h: 72px}@supports (height: 100svh){:root{--vh: 100svh}}html,body{margin:0;height:auto;min-height:var(--vh);font-family:var(--bs-body-font-family)}body{background:var(--ap-bg)}.hidden{display:none!important}#app{display:flex;flex-direction:column}#topbar{padding:10px 16px;border-bottom:1px solid var(--ap-border);background:#fff;display:flex;align-items:center;gap:12px;flex-shrink:0;z-index:20}.file-upload-area{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border:1px solid #0d6efd;border-radius:10px;color:#0d6efd;cursor:pointer;font-weight:600;font-size:14px;background:#fff;font-family:inherit;transition:all .2s}button.file-upload-area:hover,label.file-upload-area:hover{background-color:#f0f7ff}input[type=file]{display:none}#explorerSection{background:#fff;border-bottom:1px solid var(--ap-border);display:flex;flex-direction:column;flex-shrink:0;height:320px;transition:all .2s ease;position:relative;z-index:15;box-shadow:0 4px 6px -1px #0000000d;overflow:hidden}#explorerSection.hidden{display:none!important;height:0!important;min-height:0!important;border-bottom:none!important}.explorer-container{flex:1;position:relative;display:flex;flex-direction:column;min-height:0;overflow:hidden}#explorer{flex:1;overflow:hidden;position:relative;height:100%}.statusbar{font-size:12px;color:#444;padding:8px 12px;border-top:1px solid #eee;background:#fafafa;display:flex;gap:12px;align-items:center;flex-shrink:0;height:30px}.explorer-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--overlay-bg);backdrop-filter:blur(2px);z-index:50;gap:12px;flex-direction:column;text-align:center;padding:16px}.explorer-overlay.hidden{display:none!important}.spinner{width:28px;height:28px;border:3px solid #e5e7eb;border-top-color:var(--spinner);border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.fe-header-sort-bar{display:flex;width:100%;background-color:#f9f9f9;border-bottom:1px solid #eee;box-sizing:border-box;font-size:12px;font-weight:600;color:#333;user-select:none;flex-shrink:0}.fe-header-sort-bar.resizing{cursor:col-resize}.fe-sort-header-col{padding:10px 8px;cursor:pointer;display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.fe-sort-header-col:hover{background-color:#f0f0f0}.fe-sort-header-col.name,.fe-sort-header-col.modified,.fe-sort-header-col.typ,.fe-sort-header-col.size{flex:0 0 150px}.fe-sort-arrow{margin-left:8px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;opacity:.5}.fe-sort-header-col.active .fe-sort-arrow{opacity:1}.fe-sort-arrow.asc{border-bottom:5px solid #333}.fe-sort-arrow.desc{border-top:5px solid #333}.fe-resizer{width:5px;cursor:col-resize;z-index:10;position:relative;flex-shrink:0}.fe-resizer:after{content:"";position:absolute;left:2px;top:8px;bottom:8px;width:1px;background-color:#ddd;transition:all .2s}.fe-resizer:hover:after,.fe-header-sort-bar.resizing .fe-resizer:after{width:3px;left:1px;background-color:#0078d7}.fe_fileexplorer_body_wrap{flex-direction:column}.fe_fileexplorer_wrap .fe_fileexplorer_item_icon_file:not(.fe_fileexplorer_item_icon_file_no_ext).fe_fileexplorer_item_icon_ext_p:after{background-color:#0078d7!important}.fe-close-btn{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:40px;height:40px;border-radius:10px;border:none;background-color:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#6b7280}.fe-close-btn:hover{background-color:#f0f0f0;color:#111}.fe-close-btn .lucide{width:24px;height:24px}.fe_fileexplorer_path_wrap{position:relative}.fe_fileexplorer_path_name{user-select:text;cursor:default}.fe_fileexplorer_navtools{display:none!important}.fe_fileexplorer_header{min-height:0!important}#toolbarContainer{position:static!important;box-sizing:border-box;height:var(--toolbar-h)!important;padding:0!important;border-bottom:1px solid var(--ap-border);background:#fff;display:flex;align-items:center}.lucide-toolbar{width:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:1.25rem;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -2px #0000000d;padding:8px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;height:100%}.tool-group{display:flex;align-items:center;gap:4px}.tool-group.justify-start{justify-content:flex-start;flex:1}.tool-group.justify-center{justify-content:center;flex:1}.tool-group.justify-end{justify-content:flex-end;flex:1}.ico-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:transparent;border:2px solid transparent;cursor:pointer;transition:all .15s ease;color:#475569;padding:0;user-select:none}.ico-btn:hover{background:#f1f5f9;color:#1e293b;border-color:#e2e8f0}.ico-btn:active{transform:translateY(1px)}.ico-btn.is-active{background-color:#fff;color:#135ca8;border-color:#a5b4fc;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.zoom-controls,.page-nav-controls{display:flex;align-items:center;gap:8px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:14px;padding:4px}#apZoomDisplay{min-width:90px;height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:600;font-size:14px;color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 1px 2px #0000000d;cursor:pointer;transition:border-color .15s}#apZoomDisplay:hover{border-color:#a5b4fc}.ap-zoom-caret{width:16px;height:16px;color:#64748b}#pageNumber{height:40px;width:60px;text-align:center;font-weight:600;font-size:14px;border:1px solid #cbd5e1;background:#fff;border-radius:10px;box-shadow:0 1px 2px #0000000d}#pageNumber:focus{outline:2px solid #135ca8;outline-offset:2px}#numPages{font-size:14px;font-weight:500;color:#475569}[data-tip]{position:relative}[data-tip]:after,[data-tip]:before{position:absolute;left:50%;transform:translate(-50%);opacity:0;pointer-events:none;transition:opacity .15s ease-out,transform .15s ease-out;z-index:1000}[data-tip]:after{content:attr(data-tip);bottom:calc(100% + 12px);background:#1e293b;color:#f8fafc;font-size:12px;font-weight:500;padding:8px 12px;border-radius:8px;white-space:nowrap;box-shadow:0 8px 24px #0003}[data-tip]:before{content:"";bottom:calc(100% + 6px);border:6px solid transparent;border-top-color:#1e293b}[data-tip]:hover:after,[data-tip]:hover:before{opacity:1;transform:translate(-50%) translateY(-4px)}#viewerArea{position:relative;flex:1;min-height:0;background:var(--ap-bg);display:flex;overflow:hidden}#main-content-wrapper{flex:1;position:relative;min-width:0;display:flex;flex-direction:column;overflow:hidden;min-height:0}#viewerContainer{position:absolute;inset:0;overflow:auto;background:var(--ap-bg);border-top:1px solid var(--ap-border);scroll-behavior:auto;touch-action:none;overscroll-behavior:contain}#viewerContainer.disable-links a,#viewerContainer.disable-links .annotationLayer section,#viewerContainer.disable-links .annotationLayer div,#viewerContainer.disable-links a[data-element-id],#viewerContainer.disable-links a[id^=pdfjs_internal_id_]{pointer-events:none!important;cursor:text!important}.pdfViewer{padding-top:12px!important;padding-bottom:12px!important}.pdfViewer .page:last-child{padding-bottom:0}#viewer{position:relative}#viewer .textLayer{--highlight-height: 1.1em}#viewer .textLayer .highlight{background-color:transparent!important;box-shadow:inset 0 calc(-1 * var(--highlight-height)) 0 0 #fff81399;padding:0;margin:0;border-radius:0}#viewer .textLayer .highlight.selected{box-shadow:inset 0 calc(-1 * var(--highlight-height)) 0 0 #10b98166}#overlayRoot{position:absolute;inset:0;pointer-events:none;z-index:50}.overlay-item{position:absolute;pointer-events:auto}.overlay-quad{position:absolute;border:2px solid #1e88e5;background:#1e88e51a;box-sizing:border-box;transition:border-color .12s,background .12s,box-shadow .12s}.overlay-item.active .overlay-quad{border-color:var(--active-outline)!important;background:var(--active-fill)!important;box-shadow:0 0 0 3px #10b98129 inset}.overlay-label{position:absolute;top:-22px;left:0;padding:2px 8px;font-size:11px;border-radius:999px;background:#111827;color:#fff;white-space:nowrap}#floatingToolbar{position:absolute;z-index:70;background:#fff;border:1px solid var(--soft-border);border-radius:14px;box-shadow:0 10px 30px #00000029;padding:6px 8px;gap:10px;align-items:center;display:flex}#floatingToolbar .ico-btn{width:38px;height:38px;border-radius:10px}#propModal{position:absolute;z-index:72;width:280px;background:#fff;border:1px solid var(--soft-border);border-radius:12px;box-shadow:0 10px 24px #00000024;padding:12px}.color-row{display:flex;flex-wrap:wrap;gap:10px}.color-dot{width:26px;height:26px;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:all .2s ease}.color-dot.active{border-color:#0d6efd;transform:scale(1.1)}.color-dot:hover{transform:scale(1.05)}.modal-close-btn{width:24px;height:24px;border-radius:6px;padding:0}.panel-item-active{box-shadow:0 0 0 2px var(--active-outline);background:#f2fff7}#redaction-panel,#search-panel{width:270px;min-width:240px;max-width:1200px;height:100%;background:#fff;display:flex;flex-direction:column;z-index:60;border-top:1px solid var(--ap-border);border-left:1px solid var(--ap-border);border-right:1px solid var(--ap-border);flex-shrink:0;position:relative}#redaction-panel{display:flex;flex-direction:column;height:100%;overflow:hidden}.rp-sticky-header{position:sticky;top:0;z-index:10;flex-shrink:0;background-color:#f8f9fa;border-bottom:1px solid var(--ap-border);box-shadow:0 2px 4px #0000000d}.rp-header{padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center}.rp-header h6{font-weight:600;margin:0;font-size:16px;color:#1e293b}.rp-action{padding:1rem 1.25rem;border-top:1px solid var(--soft-border)}#redaction-list{flex:1;overflow-y:auto;padding-bottom:10px}.rp-footer{flex-shrink:0;padding:1rem 1.25rem;border-top:1px solid var(--ap-border);background:#fff;z-index:10}.save-actions-container{display:flex;gap:8px;margin-top:10px}#save-buttons-container .btn{background-color:#fff;border:1px solid #dee2e6;color:#4b5563;transition:all .2s ease}#save-buttons-container .btn:hover{background-color:#f8f9fa;border-color:#c7cdd4;color:#111827;box-shadow:0 2px 4px #0000000d}.resize-bar{width:11px;cursor:col-resize;background:#f8f9fa;border-left:1px solid var(--ap-border);border-right:1px solid var(--ap-border);display:flex;align-items:center;justify-content:center;flex-shrink:0;z-index:61;position:relative}.resize-bar>i.lucide{width:26px;height:26px;color:#94a3b8;pointer-events:none}.resize-bar .Icon{pointer-events:none}.redaction-item:hover{background:#f8f9fa;cursor:pointer}.redaction-page-items{padding:8px 8px 8px 12px;margin-bottom:0;margin-top:1px}.redaction-replacement-text{font-size:12px;color:#0d6efd;margin-top:4px;display:flex;align-items:center;gap:4px;font-style:italic}.show-more{color:#0d6efd;text-decoration:none}.more-text.hidden{display:none}#viewerContainer::-webkit-scrollbar,#redaction-panel::-webkit-scrollbar,#spreadPanel::-webkit-scrollbar,#search-results-list::-webkit-scrollbar,#entity-list::-webkit-scrollbar{width:10px}#viewerContainer::-webkit-scrollbar-thumb,#redaction-panel::-webkit-scrollbar-thumb,#spreadPanel::-webkit-scrollbar-thumb,#search-results-list::-webkit-scrollbar-thumb,#entity-list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:8px;border:2px solid transparent;background-clip:content-box}.redaction-item-content{min-width:0;word-break:break-all}.redaction-page-header{position:sticky;top:0;background-color:#f8f9fa;padding:8px 12px;border-bottom:1px solid #dee2e6;z-index:10;color:#495057;font-weight:600;font-size:14px}.marquee-cursor,#viewerContainer.marquee-on,#viewerContainer.marquee-on *{cursor:zoom-in!important}#viewerContainer.marquee-on{user-select:none;-webkit-user-select:none}#viewerContainer.marquee-on .textLayer{pointer-events:none}#marqueeRect{position:absolute;border:2px dashed #1e88e5;background:#1e88e51f;pointer-events:none;z-index:75;display:none;border-radius:4px}#areaRect{position:absolute;border:2px dashed #111827;background:#11182714;pointer-events:none;z-index:75;display:none;border-radius:4px}#viewerContainer.hand-tool,#viewerContainer.hand-tool *{cursor:grab!important;user-select:none!important;-webkit-user-select:none!important}#viewerContainer.hand-tool.dragging,#viewerContainer.hand-tool.dragging *{cursor:grabbing!important}#pagerDock{position:fixed;bottom:18px;left:50%;transform:translate(-50%);background:#f8fafc;border:1px solid #cdd5df;border-radius:16px;box-shadow:0 6px 16px #00000014;display:flex;align-items:center;gap:14px;padding:12px 16px;z-index:76;opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}#pagerDock.show{opacity:1;pointer-events:auto}#pagerDock .pg-arrow{width:32px;height:32px;border-radius:8px;border:1px solid #dfe6ee;background:#fff;display:flex;align-items:center;justify-content:center;color:#6b7280;cursor:pointer;transition:background .12s,color .12s,border-color .12s,transform .05s,box-shadow .12s;position:relative}#pagerDock .pg-arrow:hover{color:#374151;background:#f9fbff;border-color:#cfe2ff;box-shadow:0 0 0 3px #1e88e51f inset}#pagerDock .pg-arrow:active{transform:translateY(1px);background:#eef2f7}#pagerDock .pg-num{min-width:56px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#fff;border:2px solid #dfe6ee;font-weight:700;color:#111827}#pagerDock .pg-total{font-weight:600;color:#374151}.pg-arrow[data-tip]:after{content:attr(data-tip);position:absolute;bottom:110%;left:50%;transform:translate(-50%);background:var(--tooltip-bg);color:var(--tooltip-fg);font-size:12px;line-height:1;padding:6px 8px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;box-shadow:0 6px 16px #0000002e;transition:opacity .12s ease}.pg-arrow[data-tip]:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border:6px solid transparent;border-top-color:var(--tooltip-bg);opacity:0;transition:opacity .12s ease}.pg-arrow:hover:after,.pg-arrow:hover:before{opacity:1}#spreadPanel{width:var(--left-w);min-width:120px;max-width:800px;height:100%;background:#fff;border-top:1px solid var(--ap-border);border-right:1px solid var(--ap-border);z-index:55;display:none;flex-direction:column;flex-shrink:0}#viewerArea.spread-open #spreadPanel{display:flex}#spreadPanelResizeBar{display:none}#viewerArea.spread-open #spreadPanelResizeBar{display:flex}.sp-head{display:flex;align-items:center;justify-content:center;padding:10px 12px;border-bottom:1px solid #eef0f2;background:#fff;overflow:hidden}.sp-zoom{width:86%;max-width:520px;display:flex;align-items:center;gap:12px;min-width:0}.sp-btn{width:34px;height:34px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;color:#6b7280;display:flex;align-items:center;justify-content:center;cursor:pointer}.sp-slider{flex:1;height:6px;appearance:none;background:#e7edf5;border-radius:999px;outline:none}.sp-slider::-webkit-slider-runnable-track{height:6px;background:#e7edf5;border-radius:999px}.sp-slider::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:#2f6fbd;border:2px solid #fff;margin-top:-6px;box-shadow:0 2px 8px #0000002e}#spreadPanel.spread-narrow .sp-head{padding:8px}#spreadPanel.spread-narrow .sp-zoom{gap:8px}#spreadPanel.spread-narrow .sp-btn{width:28px;height:28px;border-radius:8px}#spreadPanel.spread-narrow .sp-slider{height:5px}#spreadPanel.spread-narrow .sp-slider::-webkit-slider-runnable-track{height:5px}#spreadPanel.spread-narrow .sp-slider::-webkit-slider-thumb{width:16px;height:16px;margin-top:-6px}#spreadPanel.spread-tiny .sp-head{padding:6px}#spreadPanel.spread-tiny .sp-zoom{gap:6px}#spreadPanel.spread-tiny .sp-btn{width:24px;height:24px;border-radius:6px}#spreadPanel.spread-tiny .sp-slider{height:4px}#spreadPanel.spread-tiny .sp-slider::-webkit-slider-runnable-track{height:4px}#spreadPanel.spread-tiny .sp-slider::-webkit-slider-thumb{width:14px;height:14px;margin-top:-5px}.sp-list{flex:1;overflow:auto;background:#fafafa;padding:14px 12px 18px}.thumb{position:relative;border:1px solid #e6ebf1;background:#fff;border-radius:14px;box-shadow:0 1px 2px #0000000a;margin:12px auto;padding:10px 10px 6px;cursor:pointer;width:calc(var(--thumb-css-w, 180px));transition:box-shadow .15s,border-color .15s}.thumb:hover{box-shadow:0 6px 18px #00000014}.thumb.active{border-color:#b9d3f7}.thumb.active:after{content:"";position:absolute;inset:-2px;border:2px solid var(--focus);border-radius:16px;pointer-events:none;z-index:2}.thumb canvas{display:block;width:100%!important;height:auto!important;border-radius:10px;position:relative;z-index:1;background:#fff}.thumb .pgno{font:500 12px/1 Inter,system-ui;color:#6b7280;text-align:center;margin-top:6px}.ap-zoom-menu{position:absolute;z-index:80;min-width:220px;background:#fff;border:1px solid var(--soft-border);border-radius:10px;box-shadow:0 10px 24px #00000014;padding:6px 0}.ap-zoom-item{height:44px;display:flex;align-items:center;gap:10px;padding:0 14px;cursor:pointer;color:#111827;font-size:16px}.ap-zoom-item .sub{color:#6b7280;font-size:12px;margin-left:auto}.ap-zoom-item:hover{background:#f6f7f9}.ap-zoom-item.active{background:#eef2ff;color:#135ca8;font-weight:600}.ap-zoom-divider{height:1px;background:#eef0f2;margin:6px 0}.ap-zoom-iconbox{width:22px;height:22px;display:flex;align-items:center;justify-content:center;color:currentColor}.search-result-item:hover{background-color:#f8f9fa}.search-result-item.is-active{background-color:var(--active-fill);outline:2px solid var(--active-outline);outline-offset:-2px}#redaction-finder-panel{background-color:#f8f9fa;border-right:1px solid var(--ap-border);display:flex;flex-direction:column;overflow:hidden}.rf-sticky-header{position:sticky;top:0;z-index:10;flex-shrink:0;background-color:#f8f9fa;border-bottom:1px solid var(--ap-border);box-shadow:0 2px 4px #0000000d}.rf-header{padding:1rem 1.25rem}.rf-header h6{font-weight:600;margin:0;font-size:16px}.rf-action{padding:1rem 1.25rem;border-top:1px solid var(--soft-border)}.entity-list-header{display:flex;justify-content:space-between;align-items:center;padding:.35rem 1rem;background-color:transparent;border-top:1px solid var(--ap-border);border-bottom:1px solid var(--ap-border);flex-shrink:0}.entity-list-header #master-toggle-btn{margin-left:.25rem}.entity-list-header .btn-icon{background:none;border:none;padding:.25rem;color:var(--icon)}.entity-list-header .btn-icon .lucide{width:20px;height:20px}.entity-list-header .btn-icon:hover{color:var(--icon-hover)}#entity-list{flex-grow:1;overflow-y:auto;background-color:#fff}.entity-item{border-bottom:1px solid var(--soft-border);transition:opacity .2s ease-in-out}.entity-item.is-disabled{opacity:.6}.entity-item.is-disabled .entity-header{background-color:#f8f9fa}.entity-item.is-disabled .entity-details{pointer-events:none;user-select:none}.entity-header{display:flex;align-items:center;padding:.75rem 1.25rem;cursor:pointer;transition:background-color .15s ease;gap:.75rem}.entity-item.is-open>.entity-header,.entity-header:hover{background-color:#f1f3f5}.entity-header .form-switch{padding-left:2.5em}.entity-header .form-check-input{margin-top:0}.entity-icon .lucide{width:20px;height:20px;color:var(--icon)}.entity-info{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}.entity-name{font-weight:500;color:#212529;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entity-summary{font-size:.85rem;color:var(--bs-secondary-color);font-weight:500}.entity-chevron{color:var(--icon);transition:transform .2s ease-in-out;flex-shrink:0}.entity-item.is-open .entity-chevron{transform:rotate(90deg)}.entity-details{display:none;padding:1.25rem;background-color:#f8f9fa;border-top:1px solid var(--soft-border)}.entity-details .form-label{font-weight:500;font-size:.875rem;margin-bottom:.5rem;white-space:nowrap}.entity-details .info-icon{cursor:pointer;margin-left:.25rem;color:var(--bs-secondary-color);vertical-align:middle}.entity-details .form-field-item{margin-bottom:1rem}.entity-details .color-picker-group{display:flex;gap:1rem}.entity-details .color-picker-group>div{flex:1;position:relative}.color-input-wrapper{display:flex;align-items:center;gap:.5rem}.entity-details .color-field,#propModal .color-field{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:36px!important;height:36px!important;background-color:transparent;border:1px solid #ced4da;cursor:pointer;padding:0!important;border-radius:50%;overflow:hidden;transition:box-shadow .15s ease,border-color .15s ease}.entity-details .color-field:hover,#propModal .color-field:hover{border-color:#adb5bd;box-shadow:0 0 0 3px var(--active-fill)}.entity-details .color-field::-webkit-color-swatch,#propModal .color-field::-webkit-color-swatch{border-radius:50%;border:none}.entity-details .color-field::-moz-color-swatch,#propModal .color-field::-moz-color-swatch{border-radius:50%;border:none}.palette-toggle{background:none;border:none;padding:.25rem;color:var(--icon);cursor:pointer}.palette-toggle:hover{color:var(--icon-hover)}.color-palette{position:absolute;display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;background:#fff;border:1px solid var(--soft-border);border-radius:.5rem;padding:.5rem;box-shadow:0 4px 12px #0000001a;z-index:100;top:100%;left:0;margin-top:.5rem}.color-swatch{width:28px;height:28px;border-radius:50%;cursor:pointer;border:1px solid var(--soft-border);transition:transform .1s ease}.color-swatch:hover{transform:scale(1.1)}.pdfViewer .textLayer span{transform-origin:0% 0%;font-kerning:none!important;letter-spacing:0px!important}.lucide{width:22px;height:22px}.custom-lucide-icon{width:30px;height:30px}.redact-search-btn .custom-lucide-icon,.redact-panel-btn .custom-lucide-icon{width:24px;height:24px}.ico-btn .custom-lucide-icon path{fill:currentColor}.preview-badge{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto;width:fit-content;z-index:9999;top:6px;background:#fff;border:1px solid #e2e8f0;display:flex;align-items:center;gap:12px;padding:6px 6px 6px 14px;border-radius:50px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;font-size:12px;font-weight:600;color:#475569;white-space:nowrap;transition:opacity .3s ease,top .3s ease,visibility .3s;opacity:1;visibility:visible;pointer-events:auto}.preview-badge.hidden{display:none!important}.preview-badge.faded-out{opacity:0;visibility:hidden;pointer-events:none;top:0}.status-dot{width:8px;height:8px;background-color:#f59e0b;border-radius:50%;box-shadow:0 0 0 2px #f59e0b33;animation:pulse-dot 2s infinite}@keyframes pulse-dot{0%{box-shadow:0 0 #f59e0b66}70%{box-shadow:0 0 0 6px #f59e0b00}to{box-shadow:0 0 #f59e0b00}}.badge-close-btn{background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease,color .2s ease}.badge-close-btn:hover{background-color:#f1f5f9;color:#ef4444}#app{height:auto!important;min-height:var(--vh);display:flex;flex-direction:column;position:relative;z-index:0;border:2px solid #cfcfd8}#viewerArea{flex:none!important;height:calc(var(--vh) - var(--toolbar-h))!important;min-height:0;display:flex;position:relative;overflow:hidden;background:var(--ap-bg)}#toolbarContainer .lucide-toolbar{height:100%;padding:8px 16px;box-sizing:border-box;display:flex;align-items:center}.ft-search-menu{position:absolute;top:100%;left:0;margin-top:8px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;padding:6px;z-index:100;min-width:200px;display:flex;flex-direction:column;gap:2px;animation:ft-fade-in .15s ease-out}.ft-search-menu .ft-menu-item[data-tip]:after{white-space:normal!important;width:220px;text-align:left;line-height:1.4;bottom:100%;left:50%;transform:translate(-50%) translateY(-8px);margin-bottom:5px}.ft-search-menu .ft-menu-item[data-tip]:before{bottom:100%;margin-bottom:-1px}.ft-search-menu.hidden{display:none!important}.ft-menu-item{display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:13px;color:#334155;cursor:pointer;user-select:none;transition:background .1s}.ft-menu-item:hover{background:#f1f5f9}.ft-menu-item input[type=checkbox]{pointer-events:none accent-color: #0d6efd;width:16px;height:16px}.ft-filter-active-dot{position:absolute;top:6px;right:6px;width:8px;height:8px;background-color:#0d6efd;border:1px solid #fff;border-radius:50%;pointer-events:none}.ft-split-group{display:flex;align-items:center;margin-right:4px}.ft-split-main{border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-right:1px solid #e2e8f0!important;margin-right:0!important}.ft-split-arrow{border-top-left-radius:0!important;border-bottom-left-radius:0!important;width:26px!important;margin-left:0!important;display:flex;align-items:center;justify-content:center}.ft-split-arrow:hover{background-color:#f1f5f9}.ft-search-menu{position:absolute;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;padding:6px;z-index:100;min-width:200px;display:flex;flex-direction:column;gap:2px;animation:ft-fade-in .15s ease-out}@keyframes ft-fade-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.ft-menu-item{display:flex;align-items:center;gap:10px;padding:10px 12px;font-size:13px;font-weight:500;color:#334155;cursor:pointer;border-radius:8px;transition:background .15s ease,color .15s ease}.ft-menu-item:hover{background-color:#f8fafc;color:#0f172a}.ft-menu-item input[type=checkbox]{appearance:none;-webkit-appearance:none;width:18px;height:18px;border:2px solid #cbd5e1;border-radius:5px;cursor:pointer;position:relative;transition:all .2s ease;margin:0}.ft-menu-item input[type=checkbox]:checked{background-color:#0d6efd;border-color:#0d6efd}.ft-menu-item input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}@layer bootstrap{#viewer,#viewer *{all:revert-layer}}
