@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}: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}:root{--bg-color:#f9f9f9;--bg-dark:#525659;--text-primary:#333;--text-secondary:#666;--border-color:#ccc;--primary-color:#007bff;--primary-hover:#0056b3;--accent-color:#28a745;--shadow-sm:0 2px 4px #0000000d;--shadow-md:0 4px 12px #0000001a;--shadow-lg:0 8px 24px #00000026;--transition-speed:.3s;--player-bg:#1e1e24}body{-webkit-font-smoothing:antialiased;background-color:var(--bg-dark);margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.app-container{box-sizing:border-box;height:100vh;display:flex;position:relative;overflow:hidden}.sidebar{box-sizing:border-box;background-color:var(--bg-color);z-index:900;width:400px;transition:transform var(--transition-speed) ease, width var(--transition-speed) ease;border-right:1px solid var(--border-color);box-shadow:var(--shadow-sm);flex-direction:column;display:flex;overflow-y:auto}.sidebar-content{flex:1;padding:20px}@media (width<=768px){.sidebar{width:85%;max-width:400px;height:100%;box-shadow:var(--shadow-lg);position:absolute;top:0;left:0;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.collection-sidebar{left:auto;right:0;transform:translate(100%)}.collection-sidebar.open{transform:translate(0)}}@media (width>=769px){.sidebar{position:relative;transform:none}.sidebar.closed{border-right:none;width:0;overflow:hidden}.sidebar.closed .sidebar-content{opacity:0;visibility:hidden}}.sidebar-overlay{z-index:899;opacity:0;width:100vw;height:100vh;transition:opacity var(--transition-speed) ease;background:#00000080;display:none;position:absolute;top:0;left:0}@media (width<=768px){.sidebar-overlay.open{opacity:1;display:block}}.preview-container{background-color:var(--bg-dark);flex-direction:column;flex:1;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.btn{cursor:pointer;box-sizing:border-box;border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px 12px;font-weight:500;transition:background-color .2s,transform .1s;display:flex}.btn:active{transform:scale(.98)}.btn-primary{background-color:var(--primary-color);color:#fff}.btn-primary:hover:not(:disabled){background-color:var(--primary-hover)}.btn-primary:disabled{cursor:not-allowed;background-color:#9ac2fc}.btn-icon{color:var(--text-secondary);border:1px solid var(--border-color);background-color:#0000;min-width:44px}.btn-icon:hover{background-color:#f0f0f0}.floating-toggle{z-index:1000;border:1px solid var(--border-color);cursor:pointer;box-shadow:var(--shadow-md);min-height:44px;color:var(--text-primary);background-color:#fff;border-left:none;border-radius:0 8px 8px 0;justify-content:center;align-items:center;padding:12px 10px;transition:background-color .2s;display:flex;position:absolute;top:20px;left:0}.floating-toggle:hover{background-color:#f0f0f0}.form-group{margin-bottom:20px}.form-label{color:var(--text-primary);margin-bottom:8px;font-weight:500;display:block}.form-select,.form-input{border:1px solid var(--border-color);box-sizing:border-box;background-color:#fff;border-radius:6px;width:100%;padding:8px;font-size:14px}.form-checkbox-label{cursor:pointer;align-items:center;gap:10px;padding:4px 0;display:flex}.form-checkbox-label input[type=checkbox]{cursor:pointer;width:20px;height:20px}.collapsible-header{cursor:pointer;color:var(--text-primary);align-items:center;padding:8px 0;font-weight:600;display:flex}.collapsible-content{padding:0 10px 15px 25px}.tristate-switch{background:#ffffff1a;border-radius:20px;width:120px;height:32px;display:flex;position:relative;overflow:hidden}.tristate-option{cursor:pointer;z-index:2;color:#ccc;-webkit-user-select:none;user-select:none;flex:1;justify-content:center;align-items:center;font-size:12px;font-weight:700;transition:color .3s;display:flex}.tristate-option.active{color:#fff}.tristate-indicator{background:var(--primary-color);z-index:1;border-radius:16px;width:calc(33.33% - 4px);transition:transform .3s cubic-bezier(.25,.8,.25,1);position:absolute;top:2px;bottom:2px;left:2px}.tristate-switch[data-value="0"] .tristate-indicator{transform:translate(0)}.tristate-switch[data-value="1"] .tristate-indicator{transform:translate(calc(100% + 4px))}.tristate-switch[data-value="2"] .tristate-indicator{transform:translate(calc(200% + 8px))}@media (width<=768px){.btn{min-height:44px;padding:10px 16px}.btn-icon{min-width:44px;min-height:44px}.floating-toggle{min-height:44px;padding:12px 10px}.form-select,.form-input{min-height:44px;padding:12px;font-size:16px}.form-checkbox-label{min-height:44px;padding:5px 0}.collapsible-header{min-height:44px;padding:12px 0}}.player-controls-left{align-items:center;gap:10px;display:flex}.player-settings-right{flex-direction:column;align-items:flex-end;gap:10px;display:flex}@media (width<=768px){.player-controls-left{justify-content:center;width:100%}.player-settings-right{align-items:center;width:100%}}
