@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";:root{--primary: #e25e29;--primary-hover: #d25321;--primary-light: rgba(226, 94, 41, .15);--bg-color: #f8fafc;--panel-bg: rgba(255, 255, 255, .85);--text-main: #1e293b;--text-muted: #64748b;--border-color: rgba(0, 0, 0, .08);--glass-bg: rgba(255, 255, 255, .85);--glass-border: rgba(255, 255, 255, .7);--glass-shadow: 0 12px 32px -4px rgba(0, 0, 0, .08), 0 4px 6px -2px rgba(0,0,0,.04);--danger: #ef4444;--success: #10b981}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,sans-serif;background-color:var(--bg-color);background-image:radial-gradient(at 0% 0%,rgba(79,70,229,.08) 0px,transparent 50%),radial-gradient(at 100% 100%,rgba(16,185,129,.05) 0px,transparent 50%);color:var(--text-main);min-height:100vh;line-height:1.5;overflow-x:hidden}h1,h2,h3,h4,h5,h6{font-weight:600;letter-spacing:-.025em;margin-bottom:.5rem;color:#0f172a}.glass-panel{background:var(--panel-bg);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid var(--glass-border);box-shadow:var(--glass-shadow);border-radius:16px;padding:1.5rem;transition:transform .3s ease,box-shadow .3s ease}.glass-panel:hover{box-shadow:0 20px 40px -15px #0000001f}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:8px;font-weight:500;font-size:.875rem;cursor:pointer;transition:all .2s ease;border:none;outline:none}.btn-primary{background-color:var(--primary);color:#fff;box-shadow:0 4px 14px #6366f163}.btn-primary:hover{background-color:var(--primary-hover);transform:translateY(-2px);box-shadow:0 6px 20px #6366f163}.btn-primary:active{transform:translateY(0)}.btn-primary:disabled{background-color:#475569;cursor:not-allowed;transform:none;box-shadow:none}.btn-outline{background-color:transparent;color:var(--text-main);border:1px solid var(--border-color)}.btn-outline:hover{background-color:#ffffff0d}.btn-icon{padding:.5rem;border-radius:8px;background:transparent;color:var(--text-muted);border:1px solid transparent;cursor:pointer;transition:all .2s}.btn-icon:hover{color:var(--text-main);background:#ffffff1a;border-color:var(--border-color)}.input-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.input-label{font-size:.875rem;font-weight:500;color:var(--text-muted)}.input-field{background-color:#0f172a80;border:1px solid var(--border-color);border-radius:8px;padding:.75rem 1rem;color:var(--text-main);font-family:inherit;font-size:.875rem;transition:border-color .2s,box-shadow .2s}.input-field:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-light)}.app-container{max-width:1600px;margin:0 auto;padding:2rem;display:flex;flex-direction:column;gap:2rem;height:100vh}.header{display:flex;justify-content:space-between;align-items:center;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.main-content{display:flex;gap:2rem;flex:1;min-height:0}.pdf-section{flex:1;display:flex;flex-direction:column;gap:1rem;height:100%}.controls-section{width:450px;display:flex;flex-direction:column;gap:1.5rem;height:100%;overflow-y:auto;padding-right:.5rem}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#fff3}.pdf-document{display:flex;justify-content:center;align-items:flex-start;height:calc(100vh - 160px);max-height:calc(100vh - 160px);background:#0b1120;border-radius:8px;overflow-y:auto !important;overflow-x:auto !important;padding:1rem}.pdf-document::-webkit-scrollbar{width:10px;height:10px}.pdf-document::-webkit-scrollbar-track{background:#0f172a;border-radius:4px}.pdf-document::-webkit-scrollbar-thumb{background:#38bdf8;border-radius:6px}.pdf-document::-webkit-scrollbar-thumb:hover{background:#0284c7}.pdf-page-container{position:relative;box-shadow:0 4px 20px #00000080}.page-controls{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1rem;background:var(--panel-bg);padding:.5rem;border-radius:8px;border:1px solid var(--glass-border)}.data-table-container{width:100%;overflow-x:auto !important;max-width:100% !important;display:block !important;border:1px solid var(--border-color);border-radius:8px}.data-table{min-width:650px !important;width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}.data-table th,.data-table td{padding:.5rem .75rem !important;white-space:nowrap !important;border-bottom:1px solid var(--border-color)}.data-table th{background:#ffffff0d;font-weight:500;color:var(--text-muted)}.data-table tr:hover{background:#ffffff05}.data-table tr:last-child td{border-bottom:none}.text-gradient{background:linear-gradient(to right,#818cf8,#c084fc);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.flex-center{display:flex;align-items:center;justify-content:center}.mt-4{margin-top:1rem}.mb-4{margin-bottom:1rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.text-sm{font-size:.875rem}.text-muted{color:var(--text-muted)}.app-logo{height:48px;width:auto;border-radius:8px;box-shadow:0 4px 12px #0003;border:2px solid rgba(255,255,255,.1);transition:transform .3s ease,box-shadow .3s ease}.app-logo:hover{transform:scale(1.05);box-shadow:0 6px 16px #0000004d}.crop-hint{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#000000b3;color:#fff;padding:12px 24px;border-radius:8px;font-size:14px;font-weight:500;pointer-events:none;animation:pulse 2s infinite;z-index:20;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-align:center}@keyframes pulse{0%{opacity:.8;transform:translate(-50%,-50%) scale(1)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.05)}to{opacity:.8;transform:translate(-50%,-50%) scale(1)}}.crop-box-active{position:absolute;pointer-events:auto;border:2px solid white;box-shadow:0 0 0 9999px #0006;z-index:15;background:transparent}.crop-box-active:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border:2px dashed #3b82f6;pointer-events:none}.btn-icon{background:transparent;border:none;border-radius:6px;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:6px;transition:all .2s}.btn-icon:hover{background:#ffffff1a;color:var(--text-main)}.chat-bubble-btn{position:fixed;bottom:2rem;right:2rem;width:60px;height:60px;border-radius:50%;background:var(--primary);color:#fff;border:none;box-shadow:0 8px 16px #3b82f666;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s;z-index:1000}.chat-bubble-btn:hover{transform:scale(1.05);box-shadow:0 12px 20px #3b82f680}.chat-widget{position:fixed;bottom:2rem;right:2rem;width:350px;height:500px;background:var(--panel-bg);border:1px solid var(--border-color);border-radius:12px;box-shadow:var(--shadow);display:flex;flex-direction:column;z-index:1000;overflow:hidden;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.chat-header{padding:1rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;background:#ffffff08}.chat-messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:1rem}.chat-message{display:flex;flex-direction:column;max-width:85%}.chat-message.user{align-self:flex-end}.chat-message.model{align-self:flex-start}.message-content{padding:10px 14px;border-radius:16px;line-height:1.4;font-size:.95rem}.chat-message.user .message-content{background:var(--primary);color:#fff;border-bottom-right-radius:4px}.chat-message.model .message-content{background:#ffffff0d;border:1px solid var(--border-color);border-bottom-left-radius:4px}.chat-input-container{padding:1rem;border-top:1px solid var(--border-color);display:flex;gap:8px;background:#ffffff08}.chat-input{flex:1;background:var(--bg-dark);border:1px solid var(--border-color);border-radius:20px;padding:8px 16px;color:var(--text-main);outline:none}.chat-input:focus{border-color:var(--primary)}.chat-send-btn{background:var(--primary);color:#fff;border:none;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.chat-send-btn:disabled{background:var(--border-color);cursor:not-allowed}: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(--total-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(--total-scale-factor));width:100%;min-width:calc(180px * var(--total-scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--total-scale-factor));background-color:#ff9;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}.annotationLayer .popup>*{font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--total-scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--total-scale-factor));padding-top:calc(2px * var(--total-scale-factor))}.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{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}
