: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{--gold: #FFC826;--teal: #126466;--brown: #5F4B3D;--cream: #F6F4F2;color-scheme:light}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--brown);background:#fff}.navbar{position:fixed;top:0;left:0;width:100%;height:85px;box-shadow:0 .5rem 1rem #0003;display:flex;align-items:center;background-color:var(--gold);padding:0 15px;z-index:1000}.navbar h1{color:var(--brown);font-size:24px;margin:0}.navbar-user{margin-left:auto;display:flex;align-items:center;gap:.75rem}.navbar-email{font-size:.9rem}.workspace{display:flex;padding-top:85px;min-height:100vh}.sidebar{width:260px;flex-shrink:0;border-right:1px solid #e5e0da;background:var(--cream);padding:1rem .75rem;display:flex;flex-direction:column;gap:.75rem;height:calc(100vh - 85px);position:sticky;top:85px;overflow-y:auto}.new-doc-button{display:block;text-align:center;padding:.6rem;border:1px solid var(--teal);border-radius:8px;color:var(--teal);text-decoration:none;font-weight:500}.new-doc-button:hover{background:var(--teal);color:var(--cream)}.sidebar-list{display:flex;flex-direction:column;gap:.35rem}.sidebar-empty{font-size:.85rem;color:#8a7a6d;text-align:center}.sidebar-item{display:flex;align-items:center;border-radius:8px}.sidebar-item:hover{background:#ece7e1}.sidebar-item-active{background:#e6dfd6}.sidebar-item-link{flex:1;min-width:0;padding:.5rem .6rem;text-decoration:none;color:var(--brown);display:flex;flex-direction:column;gap:.15rem}.sidebar-item-name{font-weight:500;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-item-query{font-size:.78rem;color:#8a7a6d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-item-delete{border:none;padding:.3rem .5rem;margin-right:.25rem;font-size:.8rem;color:#8a7a6d;visibility:hidden}.sidebar-item:hover .sidebar-item-delete{visibility:visible}.sidebar-item-delete:hover{background:transparent;color:#b3261e;box-shadow:none}.main-pane{flex:1;min-width:0;padding:1rem 1.5rem;display:flex;flex-direction:column}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--cream);padding:1.5rem}.auth-card{background:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001a;padding:2rem 2.5rem;width:100%;max-width:400px;display:flex;flex-direction:column;gap:1rem}.auth-card h1{text-align:center;margin:0}.auth-card h2{text-align:center;margin:0;font-size:1.1rem;font-weight:500;color:#8a7a6d}.auth-card label{display:flex;flex-direction:column;gap:.3rem;font-size:.9rem;font-weight:500}.auth-card input{width:100%;font-family:inherit;font-size:1rem;padding:.6rem;border-radius:8px;border:1px solid #ddd}.auth-hint{font-size:.8rem;color:#8a7a6d;margin:-.5rem 0 0}.auth-sub{text-align:center;font-size:.9rem;color:#8a7a6d;margin:-.5rem 0 0}.auth-google{display:flex;justify-content:center;min-height:44px;align-items:center}.auth-pending{font-size:.9rem;color:#8a7a6d;margin:0}.auth-switch{text-align:center;font-size:.8rem;color:#8a7a6d;margin:0;line-height:1.5}.auth-switch a{color:var(--teal)}.auth-loading{padding:3rem;text-align:center;color:#8a7a6d}.query-history{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.5rem}.query-chip{white-space:nowrap;max-width:260px;overflow:hidden;text-overflow:ellipsis;font-size:.82rem;padding:.35rem .8rem;border-radius:999px;border-color:#ddd}.query-chip-active{border-color:var(--teal);background:var(--teal);color:var(--cream)}.active-query{font-size:.85rem;color:#8a7a6d;font-style:italic;margin:0 0 .5rem}.upload-view h1{text-align:center}.uploader{border:2px dashed var(--gold);border-radius:10px;padding:2rem;text-align:center;margin:1rem 0}textarea,input[type=text]{width:100%;font-family:inherit;font-size:1rem;padding:.6rem;border-radius:8px;border:1px solid #ddd}button{background-color:transparent;color:var(--brown);border:1px solid var(--teal);border-radius:8px;padding:.6rem 1.5rem;font-weight:500;cursor:pointer;transition:all .2s ease}button:hover:not(:disabled){background-color:var(--teal);color:var(--cream);border-color:var(--teal);box-shadow:0 4px 8px #0003}button:disabled{opacity:.5;cursor:not-allowed}.progress-wrap{margin-top:1.25rem;display:flex;flex-direction:column;align-items:center;gap:.4rem}.progress-track{width:100%;max-width:420px;height:10px;background:var(--cream);border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,var(--gold),var(--teal));border-radius:999px;transition:width .3s ease}.progress-label{font-size:.85rem;color:var(--brown)}.error-banner{background:#fdecea;color:#611a15;border-radius:8px;padding:.8rem 1rem;margin:1rem 0}.search-view{display:flex;flex-direction:column;flex:1;min-height:0}.search-controls{display:flex;align-items:center;gap:.75rem;padding:.75rem 0;position:sticky;top:0;background:#fff;z-index:10}.search-controls textarea{flex:1;resize:none}.file-chip{white-space:nowrap;color:var(--teal);font-weight:500}.search-layout{display:flex;gap:1.5rem;align-items:flex-start;flex:1;min-height:0}.pdf-pane{flex:2;min-width:0;max-height:calc(100vh - 12rem);overflow-y:auto;background:#eee;border-radius:8px;padding:1rem}.pdf-page{position:relative;margin:0 auto 1.5rem;width:fit-content;box-shadow:0 2px 8px #0003}.pdf-page-active{outline:3px solid var(--teal)}.pdf-page-number{position:absolute;top:-1.6rem;left:0;font-size:.8rem;color:var(--brown)}.pdf-highlight-box{position:absolute;background:#ffc82659;border:2px solid var(--gold);border-radius:2px;pointer-events:none}.match-rail{flex:1;min-width:220px;max-height:calc(100vh - 12rem);overflow-y:auto;display:flex;flex-direction:column;gap:.5rem}.match-item{display:flex;justify-content:space-between;align-items:center;background:var(--cream);border:1px solid transparent;text-align:left}.match-item:hover:not(:disabled){background:var(--teal);color:var(--cream)}.match-item-active{border-color:var(--teal);background:var(--teal);color:var(--cream)}.match-score{font-weight:700}.fallback-results{margin-top:1rem}.result-card{background:var(--cream);padding:1rem;border-radius:8px;margin-bottom:1rem;box-shadow:0 2px 5px #0000001a}.result-card-header{display:flex;justify-content:space-between;margin-bottom:.5rem;color:var(--teal)}.highlight-sentence{background-color:#ffc82640;padding:.3rem .5rem;border-radius:5px;margin:.2rem 0}.highlighted-text{color:var(--teal);font-weight:700}footer{text-align:center;font-size:.85rem;color:var(--brown);margin:2rem 0 1rem}footer a{color:var(--teal)}@media (max-width: 768px){.workspace{flex-direction:column}.sidebar{width:100%;height:auto;position:static;border-right:none;border-bottom:1px solid #e5e0da}.search-layout{flex-direction:column}.pdf-pane,.match-rail{max-height:none;width:100%}}
