:root{--bg-base: #F8FAFC;--surface: #FFFFFF;--primary: #4F46E5;--primary-hover: #4338CA;--secondary: #7C3AED;--text-main: #0F172A;--text-muted: #64748B;--border: #E2E8F0;--success: #10B981;--shadow-soft: 0 4px 20px -2px rgba(79, 70, 229, .08);--shadow-elevated: 0 10px 25px -5px rgba(79, 70, 229, .12), 0 8px 10px -6px rgba(79, 70, 229, .08);--shadow-button: 0 4px 14px 0 rgba(79, 70, 229, .25);--radius-input: 8px;--radius-card: 12px;--radius-pill: 9999px;--space-2: .5rem;--space-4: 1rem;--space-6: 1.5rem;--space-8: 2rem;--space-12: 3rem;--transition-base: all .2s ease-out}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,微软雅黑,sans-serif;background-color:var(--bg-base);color:var(--text-main);line-height:1.6;min-height:100vh;overflow-x:hidden}h1,h2,h3,h4{font-weight:700;line-height:1.2;color:var(--text-main)}h1{font-size:2.5rem;letter-spacing:-.02em}h2{font-size:1.5rem}p{color:var(--text-muted)}.text-gradient{background:linear-gradient(135deg,var(--primary),var(--secondary));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}.container{width:100%;max-width:1280px;margin:0 auto;padding:var(--space-6)}.flex-center{display:flex;justify-content:center;align-items:center}.flex-between{display:flex;justify-content:space-between;align-items:center}.flex-col{display:flex;flex-direction:column}.grid{display:grid;gap:var(--space-6)}.ambient-blob{position:fixed;border-radius:50%;filter:blur(100px);z-index:-1;opacity:.15;pointer-events:none}.blob-1{top:-10%;left:-5%;width:500px;height:500px;background:var(--primary)}.blob-2{bottom:-10%;right:-5%;width:600px;height:600px;background:var(--secondary)}header{background:#fffc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50}.nav-inner{display:flex;justify-content:space-between;align-items:center;padding:var(--space-4) var(--space-6);max-width:1280px;margin:0 auto}.logo-area{display:flex;align-items:center;gap:8px;font-weight:800;font-size:1.25rem}.logo-icon{background:linear-gradient(135deg,var(--primary),var(--secondary));width:32px;height:32px;border-radius:8px;display:flex;justify-content:center;align-items:center;color:#fff}.view-section{display:none;opacity:0;transition:opacity .3s ease-in}.view-section.active{display:block;opacity:1}.hero-section{text-align:center;padding:var(--space-12) 0;animation:slideUp .5s ease-out forwards}.upload-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:var(--space-6);margin-top:var(--space-8)}.card{background:var(--surface);border-radius:var(--radius-card);border:1px solid var(--border);box-shadow:var(--shadow-soft);padding:var(--space-6);transition:var(--transition-base);position:relative;overflow:hidden;display:flex;flex-direction:column}.card:hover{transform:translateY(-4px) perspective(1000px) rotateX(2deg) rotateY(-2deg);box-shadow:var(--shadow-elevated);border-color:#4f46e54d}.card-header{display:flex;align-items:center;gap:12px;margin-bottom:var(--space-4);font-weight:600}.card-icon{width:40px;height:40px;border-radius:10px;background:#eef2ff;color:var(--primary);display:flex;justify-content:center;align-items:center}.dropzone{border:2px dashed var(--border);border-radius:var(--radius-input);padding:var(--space-6);text-align:center;cursor:pointer;transition:var(--transition-base);background:#f8fafc}.dropzone:hover{border-color:var(--primary);background:#eef2ff}.dz-text{margin-top:8px;font-size:.9rem;color:var(--text-muted)}.status-badge{margin-top:var(--space-4);display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:var(--radius-pill);font-size:.85rem;font-weight:500;background:#f1f5f9;color:var(--text-muted)}.status-badge.success{background:#d1fae5;color:#065f46}.status-badge.loading{background:#dbeafe;color:#1e40af;display:none}.file-list{margin-top:var(--space-4);font-size:.9rem}.file-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#f8fafc;border-radius:6px;border:1px solid var(--border);margin-top:8px}.btn-delete{background:none;border:none;color:#ef4444;cursor:pointer;font-size:.85rem;padding:4px}.btn-delete:hover{text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 24px;border-radius:var(--radius-pill);font-weight:600;font-size:1rem;cursor:pointer;transition:var(--transition-base);border:1px solid transparent}.btn-primary{background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff;box-shadow:var(--shadow-button);border:none}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #4f46e566}.btn-primary:disabled{background:#94a3b8;box-shadow:none;cursor:not-allowed;transform:none}.btn-outline{background:transparent;border-color:var(--border);color:var(--text-main)}.btn-outline:hover{background:#f8fafc;border-color:var(--text-muted)}.btn-icon{width:36px;height:36px;padding:0;border-radius:8px;border-color:var(--border);background:#fff}.btn-icon:hover{background:#f8fafc}.start-calc-container{margin-top:var(--space-8);text-align:center;padding-top:var(--space-6);border-top:1px solid var(--border)}.workspace{display:flex;height:calc(100vh - 70px);overflow:hidden;background:var(--bg-base)}.pdf-panel{flex:1;border-right:1px solid var(--border);display:flex;flex-direction:column;background:#e2e8f0}.panel-header{padding:12px 24px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;font-size:.9rem;font-weight:600}.pdf-viewer-mock{flex:1;padding:var(--space-6);overflow-y:auto;display:flex;justify-content:center}.pdf-page-mock{width:100%;max-width:800px;background:#fff;box-shadow:var(--shadow-soft);padding:40px;font-family:Microsoft YaHei,sans-serif;color:#333;line-height:2;position:relative}.pdf-text{margin-bottom:1em}.highlight-target{transition:background-color .3s;border-radius:2px}.highlight-active{background-color:#facc1566;padding:2px 4px;border-bottom:2px solid #CA8A04;animation:pulse-hl 2s infinite}@keyframes pulse-hl{0%{background-color:#facc154d}50%{background-color:#facc1599}to{background-color:#facc154d}}.data-panel{flex:1;display:flex;flex-direction:column;background:var(--surface)}.data-content{flex:1;padding:var(--space-6);overflow-y:auto}.tabs{display:flex;gap:2px;background:#f1f5f9;padding:4px;border-radius:12px;width:fit-content;margin-bottom:var(--space-6)}.tab{padding:8px 24px;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;color:var(--text-muted);transition:var(--transition-base)}.tab:hover{color:var(--text-main)}.tab.active{background:#fff;color:var(--primary);box-shadow:0 2px 8px #0000000d}.table-container{border:1px solid var(--border);border-radius:var(--radius-card);overflow:hidden;margin-bottom:var(--space-6);display:none;animation:fadeIn .3s ease-out}.table-container.active{display:block}.facility-group{background:#f8fafc;padding:12px 16px;font-weight:600;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:8px}.facility-group:before{content:"";width:4px;height:16px;background:var(--primary);border-radius:4px}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:12px 16px;border-bottom:1px solid var(--border)}th{background:#fff;color:var(--text-muted);font-size:.85rem;font-weight:600;letter-spacing:.05em}tr:last-child td{border-bottom:none}tr:hover td{background:#f8fafc}.clickable-entity{color:var(--primary);text-decoration:underline;text-decoration-color:#4f46e54d;text-underline-offset:4px;cursor:pointer;font-weight:500;transition:all .2s}.clickable-entity:hover{color:var(--secondary);text-decoration-color:var(--secondary)}.summary-row{background:#eef2ff!important;font-weight:700}.tooltip-calc{position:relative;display:inline-block;cursor:help;border-bottom:1px dotted var(--primary)}.tooltip-calc .tooltip-text{visibility:hidden;width:280px;background-color:var(--surface);color:var(--text-main);text-align:left;border-radius:6px;padding:12px;position:absolute;z-index:100;bottom:125%;left:50%;margin-left:-140px;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a;border:1px solid var(--border);opacity:0;transition:opacity .3s;font-size:.8rem;font-weight:400;font-family:monospace;white-space:normal;line-height:1.5}.tooltip-calc .tooltip-text:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--surface) transparent transparent transparent}body.show-calc .tooltip-calc{border-bottom:none;cursor:default}body.show-calc .tooltip-calc .tooltip-text{visibility:visible;opacity:1;position:static;transform:none;box-shadow:none;border:none;padding:8px 0 0;width:auto;background:transparent;color:var(--text-muted)}body.show-calc .tooltip-calc .tooltip-text:after{display:none}.tooltip-calc .tooltip-text:before{content:"";position:absolute;top:100%;left:50%;margin-left:-6px;border-width:6px;border-style:solid;border-color:var(--border) transparent transparent transparent;z-index:-1}.tooltip-calc:hover .tooltip-text{visibility:visible;opacity:1}.toast-container{position:fixed;bottom:24px;right:24px;display:flex;flex-direction:column;gap:12px;z-index:9999}.toast{background:var(--surface);color:var(--text-main);padding:16px 20px;border-radius:12px;box-shadow:0 10px 40px -10px #0003;border-left:4px solid var(--primary);display:flex;align-items:center;gap:12px;transform:translate(120%);animation:slideInRight .4s cubic-bezier(.16,1,.3,1) forwards;font-weight:500;font-size:.95rem}.toast.success{border-left-color:var(--success)}.toast.error{border-left-color:#ef4444}.toast.fade-out{animation:slideOutRight .3s ease-in forwards}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideInRight{to{transform:translate(0)}}@keyframes slideOutRight{to{transform:translate(120%);opacity:0}}.icon-svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}: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{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;inset: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;inset:100% 0 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}
