@import "https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap";: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();backdrop-filter:invert()}}.annotationLayer{pointer-events:none;transform-origin:0 0;z-index:3;position:absolute;top:0;left:0}.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{width:100%;height:100%;position:absolute}.annotationLayer section{text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0;margin:0;position:absolute}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{width:100%;height:100%;font-size:1em;position:absolute;top:0;left:0}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{cursor:pointer;width:100%;height:100%;position:absolute;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(--total-scale-factor)) sans-serif;vertical-align:top;width:100%;height:100%;margin:0}.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]{border:2px solid var(--input-disabled-border-color);cursor:not-allowed;background:0 0}.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{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline);background:0 0;border-radius:2px}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-color:#0000;background-image:none}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline);border-radius:2px}.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{content:"";background-color:canvastext;display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{width:1px;height:80%;left:45%}.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%;width:50%;height:50%;top:20%;left:30%}.annotationLayer .textWidgetAnnotation input.comb{padding-left:2px;padding-right:0;font-family:monospace}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{appearance:none}.annotationLayer .popupTriggerArea{width:100%;height:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{font-size:calc(9px * var(--total-scale-factor));width:100%;min-width:calc(180px * var(--total-scale-factor));pointer-events:none;position:absolute}.annotationLayer .popup{max-width:calc(180px * var(--total-scale-factor));box-shadow:0 calc(2px * var(--total-scale-factor)) calc(5px * var(--total-scale-factor)) #888;border-radius:calc(2px * var(--total-scale-factor));padding:calc(6px * var(--total-scale-factor));margin-left:calc(5px * var(--total-scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto;background-color:#ff9;position:absolute}.annotationLayer .popup>*{font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{margin-left:calc(5px * var(--total-scale-factor));display:inline-block}.annotationLayer .popupContent{margin-top:calc(2px * var(--total-scale-factor));padding-top:calc(2px * var(--total-scale-factor));border-top:1px solid #333}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--total-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{width:100%;height:100%;position:absolute;top:0;left:0}.annotationLayer .annotationTextContent{opacity:0;color:#0000;-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;height:100%;position:absolute}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer:1;--highlight-bg-color:#b400aa;--highlight-selected-bg-color:#006400}@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{text-align:initial;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2;line-height:1;position:absolute;inset:0;overflow:hidden}.textLayer :is(span,br){color:#0000;white-space:pre;cursor:text;transform-origin:0 0;margin:0;position:absolute}.textLayer span.markedContent{height:0;top:0}.textLayer .highlight{background-color:var(--highlight-bg-color);border-radius:4px;margin:-1px;padding:1px}.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:0 0}.textLayer .endOfContent{z-index:-1;cursor:default;-webkit-user-select:none;user-select:none;display:block;position:absolute;inset:100% 0 0}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{width:0;height:0;display:none;position:absolute;top:0;left:0}*{box-sizing:border-box}html{overflow-x:hidden}:root{--color-primary:#304c89;--color-secondary:#648de5;--color-tertiary:#9eb7e5;--color-light:#e8e5da;--color-accent:#cdc392;--bg-primary:var(--color-primary);--bg-secondary:var(--color-secondary);--text-primary:var(--color-light);--text-secondary:var(--color-tertiary);--text-muted:var(--color-accent);--border-color:var(--color-secondary);--hover-color:var(--color-tertiary);--accent-color:var(--color-accent);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text-primary);background-color:var(--bg-primary);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:JetBrains Mono,Courier New,Consolas,Monaco,monospace;font-weight:400;line-height:1.5;transition:color .2s,background-color .2s}a{color:var(--color-secondary);-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}a:hover{color:var(--hover-color)}body{background-color:inherit;min-width:320px;min-height:100vh;color:inherit;place-items:center;margin:0;transition:all .2s;display:flex}#app{text-align:center;justify-content:center;align-items:center;width:100%;max-width:1280px;min-height:100vh;margin:0 auto;padding:2rem;display:flex}.app{text-align:center;width:100%;min-height:0;display:block}h1{margin-bottom:1rem;font-size:3.2em;line-height:1.1}.drop-zone{border:2px dashed var(--border-color);cursor:pointer;background-color:#648de51a;border-radius:12px;justify-content:center;align-items:center;min-height:400px;margin-top:2rem;padding:2rem;transition:all .3s;display:flex;position:relative}.drop-zone:hover,.drop-zone.drag-over{border-color:var(--hover-color);background-color:#9eb7e526;transform:translateY(-2px);box-shadow:0 8px 25px #9eb7e54d}.drop-zone.pdf-loaded{cursor:default}.drop-zone.pdf-loaded:hover,.drop-zone.pdf-loaded.drag-over{border-color:var(--border-color);box-shadow:none;background-color:#648de51a;transform:none}.drop-message{text-align:center;color:var(--text-secondary)}.upload-icon{opacity:.6;width:64px;height:64px;margin:0 auto 1rem}.file-hint{opacity:.7;margin-top:.5rem;font-size:.9em}.pdf-container{width:100%}.pdf-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.pdf-controls button{background:var(--color-secondary);color:var(--text-primary);cursor:pointer;border:none;border-radius:6px;padding:.6rem 1.2rem;font-size:.9em;transition:all .2s}.pdf-controls button:hover:not(:disabled){background:var(--hover-color);transform:translateY(-1px)}.pdf-controls button:disabled{background:var(--color-primary);cursor:not-allowed;opacity:.6}.close-btn{background:var(--color-primary)!important}.close-btn:hover{background:var(--color-secondary)!important}.page-info{color:var(--text-primary);min-width:120px;font-weight:500}.pdf-viewer{justify-content:center;margin-top:1rem;display:flex}.loading{height:200px;color:var(--text-secondary);justify-content:center;align-items:center;font-size:1.1em;display:flex}.error-message{text-align:center;color:var(--accent-color);padding:2rem}.error-message button{background:var(--color-secondary);color:var(--text-primary);cursor:pointer;border:none;border-radius:6px;margin-top:1rem;padding:.6rem 1.2rem}.error-message button:hover{background:var(--hover-color)}.react-pdf__Page{border-radius:8px;margin:0 auto;overflow:hidden;box-shadow:0 4px 20px #304c8966}.react-pdf__Page__canvas{max-width:100%;height:auto!important}.pdf-metadata{border:1px solid var(--border-color);text-align:left;background:#648de51a;border-radius:8px;max-width:800px;margin:1rem auto;padding:1.5rem}.pdf-metadata h3{color:var(--text-primary);text-align:center;border-bottom:1px solid var(--border-color);margin:0 0 1rem;padding-bottom:.5rem;font-size:1.2em}.metadata-grid{grid-template-columns:1fr;gap:.75rem;display:grid}.metadata-item{border-bottom:1px solid #648de533;justify-content:space-between;align-items:flex-start;padding:.5rem 0;display:flex}.metadata-item:last-child{border-bottom:none}.metadata-label{color:var(--text-secondary);flex-shrink:0;min-width:120px;font-weight:500}.metadata-value{color:var(--text-primary);text-align:right;word-break:break-word;flex:1;margin-left:1rem}.image-viewer{justify-content:center;align-items:center;margin:1rem 0;display:flex}.image-viewer img{object-fit:contain;border-radius:8px;max-width:100%;max-height:600px;box-shadow:0 4px 20px #304c8966}.stored-files-section{border:1px solid var(--border-color);background:#ffffff0d;border-radius:12px;margin:1.5rem 0;padding:1rem}.stored-files-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.stored-files-header h3{color:var(--text-primary);margin:0;font-size:1.1em}.stored-files-controls{gap:.5rem;display:flex}.toggle-stored-files-btn,.clear-all-btn{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color);cursor:pointer;border-radius:8px;padding:.5rem 1rem;font-size:.9em;transition:all .2s}.toggle-stored-files-btn:hover,.clear-all-btn:hover{background:var(--hover-color);transform:translateY(-2px)}.clear-all-btn{background:#d32f2f;border-color:#f44336}.clear-all-btn:hover{background:#f44336}.stored-files-list{flex-direction:column;gap:.75rem;max-height:300px;padding-right:.5rem;display:flex;overflow-y:auto}.stored-files-list::-webkit-scrollbar{width:6px}.stored-files-list::-webkit-scrollbar-track{background:#ffffff1a;border-radius:3px}.stored-files-list::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}.stored-files-list::-webkit-scrollbar-thumb:hover{background:var(--hover-color)}.stored-file-item{background:#ffffff14;border:1px solid #ffffff1a;border-radius:8px;justify-content:space-between;align-items:center;padding:.75rem;transition:all .2s;display:flex}.stored-file-item:hover{border-color:var(--border-color);background:#ffffff1f;transform:translateY(-1px)}.file-info{flex:1;align-items:center;gap:.75rem;min-width:0;display:flex}.file-icon{flex-shrink:0;font-size:1.5em}.file-details{flex:1;min-width:0}.file-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;max-width:300px;font-weight:500;overflow:hidden}.file-meta{color:var(--text-secondary);flex-direction:column;gap:.25rem;margin-top:.25rem;font-size:.8em;display:flex}.file-size{font-weight:500}.file-date{color:var(--text-muted)}.file-actions{flex-shrink:0;gap:.5rem;display:flex}.load-file-btn,.delete-file-btn{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color);cursor:pointer;white-space:nowrap;border-radius:6px;padding:.5rem .75rem;font-size:.85em;transition:all .2s}.load-file-btn:hover{background:var(--hover-color);transform:translateY(-1px)}.delete-file-btn{background:#d32f2f;border-color:#f44336;padding:.5rem}.delete-file-btn:hover{background:#f44336;transform:translateY(-1px)}@media (width<=768px){.pdf-metadata{margin:.5rem 0;padding:1rem}.metadata-item{flex-direction:column;align-items:flex-start;gap:.25rem}.metadata-label{min-width:auto}.metadata-value{text-align:left;margin-left:0}.image-viewer img{max-height:400px}.stored-files-header{flex-direction:column;align-items:stretch;gap:.75rem}.stored-files-controls{justify-content:space-between}.stored-file-item{flex-direction:column;align-items:stretch;gap:.75rem}.file-info{justify-content:flex-start}.file-name{max-width:none}.file-meta{flex-direction:row;gap:1rem}.file-actions{justify-content:space-between}}@media (prefers-color-scheme:light){:root{--bg-primary:var(--color-primary);--bg-secondary:var(--color-secondary);--text-primary:var(--color-light);--text-secondary:var(--color-tertiary);color:var(--text-primary);background-color:var(--bg-primary)}.drop-zone{background-color:#648de51a}.drop-zone:hover,.drop-zone.drag-over{background-color:#9eb7e526}.drop-message{color:var(--text-secondary)}.page-info{color:var(--text-primary)}.loading{color:var(--text-secondary)}.react-pdf__Page{box-shadow:0 4px 20px #304c8966}}.public-files-section{border:1px solid var(--border-color);background:#ffffff0d;border-radius:12px;margin:2rem 0;padding:1.5rem}.public-files-section h3{color:var(--text-primary);text-align:center;margin:0 0 1.5rem;font-size:1.2em}.public-files-table{border-collapse:collapse;background:#ffffff05;border-radius:8px;width:100%;overflow:hidden}.public-files-table th{background:var(--bg-secondary);color:var(--text-primary);text-align:left;border-bottom:2px solid var(--border-color);padding:1rem;font-weight:600}.public-files-table td{color:var(--text-primary);border-bottom:1px solid #ffffff1a;padding:1rem}.public-files-table tr:hover{background:#ffffff0d}.public-files-table .file-name{word-break:break-word;max-width:300px;font-weight:500}.public-files-table .file-type{color:var(--text-secondary);text-transform:uppercase;font-size:.9em;font-weight:500}.public-files-table .file-actions{justify-content:center;gap:.5rem;display:flex}.action-btn{background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--text-primary);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;min-width:40px;height:40px;padding:.5rem;font-size:1.2em;transition:all .2s;display:flex}.action-btn:hover{background:var(--hover-color);transform:translateY(-2px);box-shadow:0 4px 12px #9eb7e54d}.download-btn:hover{background:#4caf50;border-color:#66bb6a}.preview-btn:hover{background:#2196f3;border-color:#42a5f5}@media (width<=768px){#app{padding:1rem}h1{font-size:2.5em}.drop-zone{min-height:300px;padding:1.5rem}.pdf-controls{gap:.5rem}.pdf-controls button{padding:.5rem 1rem;font-size:.8em}.public-files-section{padding:1rem}.public-files-table th,.public-files-table td{padding:.75rem .5rem}.public-files-table .file-name{max-width:200px}.action-btn{min-width:35px;height:35px;font-size:1em}}
