:root{color:#111827;background-color:#f3f4f6;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.4}body{margin:0}#root{min-height:100vh}.app-root{max-width:1300px;margin:0 auto;padding:16px 16px 32px}.app-header{margin-bottom:16px}.app-header h1{margin:0 0 4px;font-size:1.6rem}.app-subtitle{color:#6b7280;margin:0;font-size:.9rem}.app-main{grid-template-columns:380px 1fr;gap:16px;display:grid}.panel,.viewer{background:#fff;border-radius:12px;padding:16px;box-shadow:0 4px 10px #0f172a14}.panel h2,.viewer h2{border-bottom:1px solid #e5e7eb;margin-top:0;margin-bottom:12px;padding-bottom:6px;font-size:1.05rem}.panel-group{margin-bottom:18px}.label{flex-direction:column;gap:4px;margin-bottom:6px;font-size:.9rem;display:flex}.label input[type=file]{font-size:.85rem}.label-title{margin-bottom:4px;font-size:.9rem}.dropzone{text-align:center;color:#6b7280;background:#f9fafb;border:2px dashed #d1d5db;border-radius:10px;margin-top:10px;padding:12px;font-size:.85rem}.dropzone:hover{background:#f3f4f6}.info-text{color:#4b5563;margin-top:4px;font-size:.8rem}.info-text.small{color:#6b7280;font-size:.75rem}.error-text{color:#b91c1c;margin-top:4px;font-size:.8rem}.panel-row{align-items:center;gap:8px;margin-top:8px;font-size:.85rem;display:flex}.panel-row select{padding:3px 6px;font-size:.85rem}.tag-preview{border:1px solid #e5e7eb;border-radius:8px;margin-top:10px;overflow:hidden}.tag-preview-header{background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:6px 8px;font-size:.8rem}.tag-preview-body{flex-wrap:wrap;gap:4px;max-height:120px;padding:6px 8px;display:flex;overflow:auto}.tag-pill{color:#1d4ed8;background:#eff6ff;border-radius:9999px;padding:2px 8px;font-size:.75rem}.tag-more{color:#6b7280;align-self:center;font-size:.75rem}.viewer .placeholder{color:#6b7280;text-align:center;border:1px dashed #d1d5db;border-radius:8px;padding:16px;font-size:.85rem}.page-controls{align-items:center;gap:8px;margin-bottom:8px;display:flex}.page-controls button{cursor:pointer;background:#f9fafb;border:1px solid #d1d5db;border-radius:9999px;padding:4px 10px;font-size:.8rem}.page-controls button:disabled{opacity:.5;cursor:default}.page-controls span{font-size:.85rem}.pdf-container{background:#111827;border:1px solid #e5e7eb;border-radius:8px;padding:8px;overflow:auto}.react-pdf__Page__textContent span.highlight,.highlight{border-radius:2px;padding:0 1px;font-weight:600;background-color:var(--hl-bg,#facc15cc)!important;color:#000!important}.export-buttons{gap:8px;margin-top:8px;display:flex}.export-buttons button{cursor:pointer;background:#f9fafb;border:1px solid #d1d5db;border-radius:9999px;padding:4px 10px;font-size:.8rem}.export-buttons button:disabled{opacity:.5;cursor:default}.app-header-row{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.app-header-meta{text-align:right;color:#374151;font-size:.75rem;line-height:1.4}.app-owner{font-weight:500}.app-warning{color:#b91c1c;margin-top:4px}.app-version,.app-contact{color:#374151;margin-top:2px;font-size:.75rem}.app-contact a{color:#2563eb;text-decoration:none}.app-contact a:hover{text-decoration:underline}.file-btn{cursor:pointer;background:#f7f7f7;border:1px solid #bbb;border-radius:8px;padding:8px 12px;display:inline-block}.file-name{color:#333;margin-left:10px;font-size:14px}: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;-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}: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}
