*,.tools-navbar{margin:0;box-sizing:border-box}*{padding:0}.doc-extract{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;background-color:#f5f7fa;min-height:100vh;width:100%}.tools-navbar{width:100%;display:flex;align-items:center;background:#fff;padding:0 30px;border-bottom:1px solid #e6e8eb;box-shadow:0 2px 4px rgba(0,0,0,.05);height:45px;max-width:none;min-width:100vw}.tools-navbar .menu-title{max-width:none;height:100%;display:flex;align-items:center}.menu-title ul{display:flex;align-items:center;list-style:none;margin:0 auto;padding:0 20px;max-width:1400px}.tools-tabs,.tools-tabs-wrapper{display:flex;align-items:center}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.tools-tabs,.tools-tabs-wrapper{height:100%}.consume,.tools-tab-item{align-items:center;display:flex}.tools-tab-item{padding:0 20px;height:100%;cursor:pointer;font-size:16px;color:#666;position:relative;border-right:1px solid #eee;transition:all .3s ease;text-decoration:none}.tools-tab-item:last-child{border-right:none}.tools-tab-item.active{color:#1772f6;font-weight:700}.tools-tab-item.active::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:2px;background-color:#1772f6}.tools-tab-item:hover{color:#1772f6}.tools-navbar .tools-api-btn{color:#3A8DF8;font-size:14px;margin-left:8px;font-weight:600}.menu-title ul li:last-child,.tools-navbar .tools-api-btn:hover{color:#1772F6}.menu-title ul li{margin-right:7px}.consume{margin-left:30px;gap:15px}.consume div{margin-right:0}.points-container{display:flex;align-items:center;padding:8px 16px;border-radius:8px;background-color:#e6f0ff}.points,.points span,.points-label{align-items:center;line-height:1.5}.points-label{font-size:14px;color:#030b1c;margin-right:8px;font-weight:500;display:inline-flex}.points{display:flex;margin-left:0;padding:0;border-radius:0;background-color:transparent;border:none;color:#999;font-size:14px}#jsonResult,.buy{border-radius:8px}.points span{color:#999!important;display:inline-flex}.buy,.toast{display:flex}.buy{align-items:center;cursor:pointer;padding:8px 16px;background-color:#fff4e6;transition:background-color .3s ease}.buy:hover{background-color:#ffe8cc}.buy img{width:20px;height:20px;margin-right:5px}.buy p{margin:0;color:#ff8c00;font-size:14px;font-weight:500}.toast{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%) translateY(-100px);background:#fff;border:2px solid #1772f6;color:#333;padding:40px 50px;border-radius:12px;box-shadow:0 8px 32px rgba(0,0,0,.1);z-index:9999999;transition:all .3s ease;opacity:0;max-width:90%;flex-direction:column;align-items:center;justify-content:center;gap:16px;font-weight:500;letter-spacing:.5px;text-align:center;font-size:16px}.toast.show{transform:translate(-50%,-50%) translateY(0);opacity:1}.toast-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.55);z-index:9999;display:none;transition:opacity .3s ease;opacity:0}.toast-overlay.show{display:block;opacity:1}.toast-spinner{display:inline-block;width:20px;height:20px;border:2px solid rgba(23,114,246,.3);border-top:2px solid #1772F6;border-radius:50%;animation:toast-spin 1s linear infinite;margin-right:10px}.toast-text{vertical-align:middle;display:inline-block}@keyframes toast-spin{to{transform:rotate(360deg)}}.toast-confirm-btn{background:#1772f6;border:none;color:#fff;padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;outline:0}.toast-confirm-btn:hover{background:#005eea;transform:translateY(-1px)}.toast-confirm-btn:active{transform:translateY(0)}.toast-text-container{display:flex;align-items:center;gap:12px}.toast-buttons{display:flex;justify-content:center;gap:12px;margin-top:20px;width:100%}.toast-button{padding:8px 24px;border:1px solid transparent;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease;outline:0}.toast-cancel-button{background-color:#f0f2f5;color:#555;border-color:#dcdfe6}.toast-cancel-button:hover{background-color:#e4e7ed;border-color:#c8cdd4}.toast-confirm-button{background:#1772f6;color:#fff;border:none}.toast-confirm-button:hover{background:#0e56c2;transform:translateY(-1px)}.toast-confirm-button:active{transform:translateY(0)}#toast{padding:20px;min-width:280px;text-align:center}.customer-service-float{position:fixed;right:24px;bottom:27%;z-index:999;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;animation:fadeInUp .5s ease-out}.cs-main-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#1772f6,#4f9cf9);color:#fff;padding:12px 16px;border-radius:25px;cursor:pointer;box-shadow:0 4px 16px rgba(23,114,246,.4);transition:all .3s ease;border:none;font-size:14px;font-weight:500;min-width:120px;justify-content:center;animation:pulse 3s infinite}.cs-main-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(23,114,246,.5);background:linear-gradient(135deg,#1563d6,#3b82f6);animation:none}.cs-main-btn:active{transform:translateY(-1px)}.cs-main-btn img{width:20px;height:20px;filter:brightness(0) invert(1)}.cs-main-btn span{color:#fff;font-weight:500;letter-spacing:.5px}@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,100%{box-shadow:0 4px 16px rgba(23,114,246,.4)}50%{box-shadow:0 4px 16px rgba(23,114,246,.6),0 0 0 8px rgba(23,114,246,.1)}}.doc-example-section,.doc-preview-section,.doc-upload-section,.history-item:hover{box-shadow:0 4px 12px rgba(0,0,0,.08)}.doc-container{max-width:100%;margin:0 auto;padding:0}.doc-content-area{display:flex;flex-wrap:wrap;justify-content:space-between;min-height:calc(100vh - 120px);height:calc(100vh - 120px);padding:20px}.doc-example-section{width:20%;background:#fff;border-radius:12px;padding:20px;height:100%;overflow:hidden;display:flex;flex-direction:column;gap:20px}.example-demo-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.example-demo-info .example-demo-left{display:flex;align-items:center}.example-demo-info .example-demo-title{font-weight:600;color:#333;font-size:16px}.example-demo-info .example-demo-text{font-weight:400;color:#999;font-size:14px;margin-left:8px}.example-demo-info .example-demo-right{transform:rotate(-90deg);transition:all .2s linear;cursor:pointer;padding:5px}.example-demo-info .example-demo-right.collapsed{transform:rotate(90deg)}.example-demo-info .example-demo-right i{color:#999}.example-demo-bottom{position:relative;opacity:1;max-height:1000px;max-width:300px;overflow:hidden;transition:all .3s ease}.example-demo-bottom.hidden{opacity:0;max-height:0;margin-top:0;margin-bottom:0}.example-demo-bottom .swiper-wrapper{align-items:center}.example-demo-bottom .example-demo-item{padding:4px;border:1px solid #ddd;cursor:pointer;transition:all .2s ease}.example-demo-bottom .example-demo-item:hover{border:1px solid #1772F6}#demoBottom .swiper-slide{width:48%}.example-demo-item .example-demo-img{position:relative;height:80px;margin:0 auto;display:flex;justify-content:center;align-items:center}.example-demo-item .example-demo-img img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:5px}.example-demo-tip{position:absolute;top:0;left:0;background:linear-gradient(135deg,#1772F6,#4f9cf9);color:#fff;font-size:11px;font-weight:500;padding:3px 8px;border-radius:0 0 8px;z-index:10;white-space:nowrap;box-shadow:0 2px 4px rgba(0,0,0,.15);line-height:1.2}.example-demo-bottom .example-demo-prev{left:0}.example-demo-bottom .example-demo-next{right:0}.example-demo-bottom .example-demo-next,.example-demo-bottom .example-demo-prev{position:absolute;top:50%;transform:translateY(-50%);display:inline-flex;justify-content:center;align-items:center;width:30px;height:30px;border-radius:50%;background-color:rgba(255,255,255,.7);box-shadow:0 2px 5px rgba(0,0,0,.2);transition:all .3s ease;cursor:pointer;z-index:99}.example-demo-bottom .example-demo-next i,.example-demo-bottom .example-demo-prev i{color:rgba(153,153,153,.7);font-size:16px;font-weight:600;transition:all .3s ease}.example-demo-bottom .example-demo-next:hover,.example-demo-bottom .example-demo-prev:hover{background-color:#fff;box-shadow:0 2px 5px rgba(0,0,0,.3)}.example-demo-bottom .example-demo-next:hover i,.example-demo-bottom .example-demo-prev:hover i{color:#999}.example-history{border-top:1px solid #e6e8eb;padding-top:20px;flex:1;display:flex;flex-direction:column;overflow:hidden}.example-history-info,.file-upload-area .doc-upload-text{align-items:center;display:flex}.example-history-info .example-history-title{font-weight:600;color:#333;font-size:16px}.example-history-info .example-history-text{font-weight:400;color:#999;font-size:14px;margin-left:10px}.example-history-content{flex:1;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px}.file-upload-area{width:100%;font-size:16px;cursor:pointer;margin:15px 0 25px}.file-upload-area .doc-upload-btn{width:100%;height:48px;display:flex;justify-content:center;align-items:center;border:1px dashed #d1d5db;overflow:hidden;background-color:#fafbfc;transition:all .3s ease}.file-upload-area .doc-upload-btn:hover{border:1px dashed #1772F6;background-color:#f8faff}.file-upload-area i{color:#1772F6;font-size:20px}.file-upload-area .doc-upload-text p{font-size:16px;color:#1772F6}.file-upload-area .doc-upload-text span{font-size:16px;color:#7aacf8}.example-history-content .no-files-history{text-align:center}.no-files-history i{font-size:36px;color:#999}.no-files-history p{font-size:14px;margin-top:8px;color:#6b7280}.history-item{display:flex;align-items:center;padding:10px;border:1px solid transparent;border-radius:8px;background-color:#f9fafb;position:relative;transition:all .25s ease-in-out;cursor:pointer;gap:12px}.history-item.active{background-color:rgba(23,114,246,.1);border:1px solid #1772f6;border-radius:4px}.history-item:hover{background-color:#fff;border-color:#e0e0e0}.history-item-img{width:100px;height:55px;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background-color:#f0f2f5;border-radius:6px;border:1px solid #f0f0f0;position:relative}.history-item-img img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:4px}.example-history-content.has-history .no-files-history{display:none}.history-images-scroll-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto;overflow-x:hidden;gap:8px;width:100%;height:100%;scrollbar-width:thin;scrollbar-color:#ccc #f0f0f0}.history-images-scroll-container::-webkit-scrollbar{height:5px}.history-images-scroll-container::-webkit-scrollbar-track{background:0 0}.history-images-scroll-container::-webkit-scrollbar-thumb{background:#ccc;border-radius:10px}.history-images-scroll-container::-webkit-scrollbar-thumb:hover{background:#aaa}.history-images-scroll-container img{height:100%;width:auto;object-fit:contain;border-radius:2px;flex-shrink:0}.history-item-img .history-no-images{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#b2b2b2}.history-item-img .history-no-images i{font-size:24px}.history-item-info{flex-grow:1;overflow:hidden;margin-right:16px}.history-item-info .title{font-size:14px;color:#333;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%}.history-item-info .time{font-size:12px;color:#999;margin:0}.history-item-delete{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:20px;height:20px;cursor:pointer;visibility:hidden;opacity:0;transition:opacity .2s ease,visibility .2s ease}.history-item:hover .history-item-delete{visibility:visible;opacity:1}.example-history-content{overflow-y:auto;padding-right:5px}#multiple-choices{display:none;opacity:0;transition:opacity .3s}.operate{display:flex;flex-direction:column;justify-content:center;padding:10px 30px;font-size:14px}.operate .btn{display:flex;flex:1;align-items:center;justify-content:center;max-width:100px;height:35px;overflow-y:hidden;background-color:#3E8FF8;border:none;border-radius:10px;transition:all .3s;cursor:pointer;color:#fff}.operate .operate-bottom,.operate .operate-top{width:100%;display:flex;align-items:center;justify-content:space-between}.operate .operate-top{height:20px;line-height:20px}.operate .operate-bottom{padding-top:10px;height:50px;scrollbar-width:none}.history-item .history-item-checkbox{display:none}.multi-select-mode .history-item .history-item-checkbox{display:flex;align-items:center}.multi-select-mode .history-item{cursor:pointer}.multi-select-mode .history-item.selected{background-color:#f0f7ff;border-color:#1772f6}.doc-upload-section{position:relative;width:42%;background:#fff;border-radius:12px;padding:20px;height:100%;display:flex;flex-direction:column;justify-content:space-between;gap:20px}.doc-upload-content{position:relative;flex:1;cursor:pointer;aspect-ratio:1;border:2px dashed #d1d5db;border-radius:12px;overflow:hidden;background-color:#fafbfc;transition:all .3s ease}.doc-upload-content:hover{border:2px dashed #1772F6;background-color:#f8faff}.doc-upload-content .doc-upload-prompt{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:20px;cursor:pointer;transition:all .3s ease}.doc-upload-content .doc-upload-prompt img{width:70px;height:70px;margin-bottom:12px;opacity:.6;flex-shrink:0;object-fit:contain}.doc-upload-content .doc-upload-prompt p{font-weight:600;color:#374151;font-size:16px;margin-bottom:10px}.doc-upload-content .doc-upload-prompt span{color:#6b7280;font-size:12px;display:inline-block;width:280px;text-align:center;line-height:1.6}.doc-file-name-display{display:none;padding:8px 15px;background-color:#f7f7f7;text-align:center;font-size:14px;color:#333;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .3s ease}.doc-file-name-display.show{display:block}.doc-upload-content.uploaded{border:1px solid #e6e8eb;display:flex;flex-direction:column;gap:15px}.uploaded-files{flex:1;display:flex;align-items:center;justify-content:center;height:100%;width:100%}#uploadPreviewContainer{height:100%}.file-item{display:flex;justify-content:center;align-items:center;position:relative;width:80%;height:90%}.preview-image{width:100%;height:100%;object-fit:contain;display:block;padding:6px;border:1px solid #16aaff}.file-icon{height:120px;display:flex;align-items:center;justify-content:center;background:#f8fafc;font-size:48px;color:#1772F6}.file-info{padding:12px;background:#fff}.file-name{font-size:14px;font-weight:500;color:#333;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.file-size{font-size:12px;color:#6b7280}.delete-btn{position:absolute;top:10px;right:10px;width:24px;height:24px;border:none;background:rgba(23,114,246,.8);color:#fff;border-radius:50%;cursor:pointer;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;transition:all .3s ease;box-shadow:0 2px 8px rgba(0,0,0,.1)}.delete-btn:hover{background:rgba(23,114,246);transform:scale(1.1)}.doc-upload-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:15px;border-top:1px solid #e6e8eb}.reupload-btn{min-width:140px;height:40px;padding:0 20px;border:1px dashed #3E8FF8;color:#3E8FF8;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.reupload-btn:hover{background:#3E8FF8;color:#fff}.reupload-btn i{font-size:16px}.pagination-controls{display:flex;align-items:center;justify-content:flex-end;color:#666;font-size:14px;gap:12px}.pagination-controls .page-next,.pagination-controls .page-prev{cursor:pointer;padding:4px;border-radius:4px;transition:background-color .2s}.pagination-controls .page-next:hover,.pagination-controls .page-prev:hover{background-color:#f0f2f5;color:#333}.pagination-controls .page-next.disabled,.pagination-controls .page-prev.disabled{color:#ccc;cursor:not-allowed;background-color:transparent}.pagination-controls .page-info{font-weight:500}.doc-preview-section{width:35%;background:#fff;border-radius:12px;height:100%;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;position:relative}.doc-prompt-toolbar{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid #e6e8eb;background:#fff;flex:0 0 auto;order:0}.doc-result-export-btn,.template-select-btn{border:1px solid #d1d5db;white-space:nowrap;transition:all .3s ease}.prompt-mode-label{font-size:14px;font-weight:500;color:#333;white-space:nowrap}.prompt-toolbar-right{display:flex;align-items:center;gap:8px}.template-select-wrapper{display:flex;align-items:center;position:relative}.template-select-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#fff;color:#666;border-radius:6px;font-size:14px;cursor:pointer}.template-select-btn:hover{background:#f5f5f5;border-color:#999}.template-select-btn .layui-icon-diamond{color:#1772F6;font-size:14px}.template-select-btn .layui-icon-down{font-size:12px;margin-left:4px}.template-select-btn.disabled,.template-select-btn[disabled]{opacity:.5;cursor:not-allowed;background:#f5f5f5;color:#999;border-color:#d1d5db}.template-select-btn.disabled:hover,.template-select-btn[disabled]:hover{background:#f5f5f5;border-color:#d1d5db;cursor:not-allowed}#templateSelectLabel{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-dropdown{position:absolute;top:100%;left:0;margin-top:4px;min-width:140px;max-height:260px;overflow-y:auto;background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 16px rgba(15,23,42,.12);border-radius:6px;z-index:1000;padding:4px 0;box-sizing:border-box}.template-dropdown-item{padding:6px 12px;font-size:13px;color:#374151;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.template-dropdown-item:hover{background-color:#f3f4f6}.template-dropdown-empty{padding:16px 12px;font-size:13px;color:#9ca3af;white-space:nowrap;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.template-empty-icon{width:40px;height:28px;display:flex;align-items:center;justify-content:center;color:#d1d5db}.extract-action-btn{padding:8px 20px;background:#1772F6;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease;white-space:nowrap}.extract-action-btn:hover{background:#1563d6;transform:translateY(-1px);box-shadow:0 2px 8px rgba(23,114,246,.3)}.extract-action-btn:active{transform:translateY(0)}.extract-action-btn[disabled],.extract-action-btn[disabled]:active,.extract-action-btn[disabled]:hover{background:#cbd5e1;color:#94a3b8;box-shadow:none;transform:none}.extract-action-btn[disabled]{cursor:not-allowed}.doc-result-wrapper{flex:1;display:flex;flex-direction:column;min-height:0;order:2;overflow:hidden}.doc-preview-section .doc-result-header{display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e6e8eb;flex:0 0 auto;padding:0}.doc-result-title{font-size:16px;font-weight:600;color:#333;padding:16px 20px;flex:0 0 auto}.doc-result-actions{display:flex;align-items:center;flex:0 0 auto;gap:12px}.doc-result-export-btn{padding:8px 16px;font-size:14px;font-weight:500;color:#333;background:#fff;border-radius:6px;cursor:pointer;margin-right:8px}.doc-result-export-btn:hover{background:#f5f5f5;border-color:#999;color:#1772f6}.doc-result-export-btn:active{background:#e9ecef}.doc-result-tabs{display:flex;align-items:center;flex:0 0 auto;gap:0;background:#e5e7eb;border-radius:6px;padding:2px;margin-right:10px}.doc-preview-section .doc-result-tab{flex:0 0 auto;padding:10px 20px;font-weight:500;font-size:14px;color:#999;cursor:pointer;transition:all .3s ease;margin:0;text-align:center;background:0 0;border:none;border-radius:4px;white-space:nowrap;position:relative}.doc-result-tab:hover{color:#666;background:rgba(255,255,255,.3)}.doc-result-tab.active{color:#333;background:#fff;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.1);z-index:1}.doc-preview-section .doc-result-content{flex:1;padding:0;overflow-y:auto;min-height:0;margin-bottom:0;display:flex;flex-direction:column;background:#fcfcfd}.doc-extract-config.collapsed~.doc-result-wrapper{flex:1;min-height:0}.doc-result-content .doc-result-prompt{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#6b7280;min-height:200px}.doc-result-content .doc-result-prompt img{display:inline-block;width:80px;height:80px;margin-bottom:16px;opacity:.6}.doc-result-content .doc-result-prompt p{font-size:14px;line-height:1.5}.doc-result-content #jsonDisplay{display:none}.result-count{text-align:center;color:#888;font-size:14px;margin-bottom:15px}.doc-card{background-color:#fcfcfd;margin-bottom:10px;padding:15px;overflow:hidden}.doc-card-title{font-size:16px;font-weight:600;color:#333;margin:0 0 15px;padding-bottom:10px;border-bottom:1px solid #eee}.doc-card-body{display:flex;flex-direction:column}.doc-category{margin-bottom:10px}.doc-category:last-child{margin-bottom:0}.doc-category-title{font-size:13px;font-weight:600;color:#4A5568;padding-bottom:8px;margin:0 0 12px;border-bottom:1px solid #e2e8f0}.doc-detail-item{display:flex;align-items:flex-start;line-height:1.5;margin-bottom:8px;gap:8px}.doc-category>.doc-detail-row:last-child{margin-bottom:0}.doc-detail-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:8px}.item-detail-row{display:flex;align-items:center;margin-bottom:8px;gap:8px}.item-detail-row:last-child{margin-bottom:0}.item-detail-label{font-size:13px;color:#6c757d;margin-right:6px;white-space:nowrap;flex-shrink:0}.item-detail-value{font-size:14px;color:#1c1c1e;font-weight:500;flex:1}.doc-extract-result-text{width:100%;padding:12px;border-radius:6px;font-size:14px;line-height:1.8;color:#333;word-wrap:break-word;white-space:pre-wrap;max-height:none;overflow-y:visible}.doc-result-prompt{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 20px;color:#888}.doc-result-prompt img{max-width:80px;margin-bottom:15px}.doc-result-prompt .layui-icon{margin-bottom:15px}.doc-result-prompt p{font-size:14px;line-height:1.5}#jsonResult{color:#abb2bf;padding:20px;font-family:SFMono-Regular,Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:14px;line-height:1.6;text-align:left;white-space:pre-wrap;word-break:break-all;min-height:100px;margin-top:10px}#jsonResult .json-key{color:#e06c75}#jsonResult .json-string{color:#98c379}#jsonResult .json-number{color:#d19a66}#jsonResult .json-boolean{color:#56b6c2}#jsonResult .json-null{color:#c678dd}.doc-extract-config{border-top:1px solid #e6e8eb;background:#fff;position:relative;flex:1;display:flex;flex-direction:column;min-height:0;transition:all .3s ease;order:1}.doc-extract-config.collapsed{border-top:none;flex:0 0 auto;order:999;margin-top:auto}.extract-config-header{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid #e6e8eb;transition:all .3s ease}.doc-extract-config.collapsed .extract-config-header{display:none}.extract-config-title-wrapper{display:flex;align-items:center;gap:6px}.extract-config-title{font-size:16px;font-weight:600;color:#333}.extract-config-edit-icon{font-size:18px;color:#999}.extract-config-actions{display:flex;align-items:center;gap:12px}.extract-config-btn,.extract-config-expand-btn{padding:6px 12px;transition:all .3s ease;gap:4px;cursor:pointer}.extract-config-btn{border:1px solid #d1d5db;background:#fff;color:#666;border-radius:6px;font-size:14px;display:flex;align-items:center}.extract-config-btn:hover{background:#f5f5f5;border-color:#999}.save-template-btn{position:relative}.save-template-dot{display:inline-block;width:6px;height:6px;background:#f44;border-radius:50%;margin-right:4px}.delete-template-btn[disabled],.save-template-btn[disabled]{opacity:.5;cursor:not-allowed}.collapse-btn i{font-size:12px}.extract-config-content{padding:20px;display:flex;flex-direction:column;flex:1;min-height:0}.extract-config-content.hidden{display:none}.extract-config-hint{font-size:14px;color:#666;margin-bottom:12px;line-height:1.5;flex-shrink:0}.extract-config-textarea{width:100%;flex:1;min-height:120px;padding:12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;color:#333;resize:vertical;font-family:inherit;line-height:1.5;box-sizing:border-box}.extract-config-textarea:focus{outline:0;border-color:#1772F6;box-shadow:0 0 0 3px rgba(23,114,246,.1)}.extract-config-counter{text-align:right;font-size:12px;color:#999;margin-top:8px;flex-shrink:0}.extract-config-collapsed{display:none;padding:12px 20px;align-items:center;justify-content:space-between;background:#f8f9fa;border-top:1px solid #e6e8eb}.extract-config-collapsed.show{display:flex}.extract-config-label{font-size:14px;color:#666}.extract-config-expand-btn{border:1px solid #d1d5db;background:#fff;color:#666;border-radius:6px;font-size:14px;display:flex;align-items:center}.discount-tag,.extract-config-expand-btn i{font-size:12px}.extract-config-expand-btn:hover{background:#f5f5f5;border-color:#999}@media (max-width:1180px){.doc-content-area{height:auto;min-height:auto;gap:20px}.doc-example-section{width:100%;max-height:600px}.doc-upload-section{width:50%;height:auto;flex:1}.doc-preview-section{width:50%;flex:1;height:auto}.message-window#buy-window{padding:24px;align-items:center;justify-content:center;overflow-y:auto;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;touch-action:pan-y;position:fixed;left:0;right:0;top:0;bottom:0}.doc-extract .message-window#buy-window .buy-box{width:min(920px,94vw);max-width:94vw;max-height:88vh;overflow:hidden;overflow-x:hidden!important;border-radius:14px;position:relative;margin:0 auto}.doc-extract .message-window#buy-window .user-information{width:100%;padding:16px 20px;align-items:center;gap:12px;overflow-x:hidden!important;max-width:100%!important;box-sizing:border-box}.doc-extract .message-window#buy-window .user-information>div{min-width:0;flex:1;flex-wrap:wrap;gap:10px}.doc-extract .message-window#buy-window .buy-information{width:100%;height:auto;max-height:calc(88vh - 72px);margin-bottom:0;overflow:auto;overflow-x:hidden!important;-webkit-overflow-scrolling:touch}.doc-extract .message-window#buy-window .buy-left{width:60%;padding:16px;overflow-x:hidden!important;max-width:100%!important;box-sizing:border-box}.doc-extract .message-window#buy-window .buy-right{width:40%;overflow-x:hidden!important;max-width:100%!important;box-sizing:border-box}.doc-extract .message-window#buy-window .buy-right>div:first-child,.doc-extract .message-window#buy-window .buy-right>div:last-child{padding:16px}.doc-extract .message-window#buy-window .buy-left>div:first-child{gap:12px}.doc-extract .message-window#buy-window .discount-option,.doc-extract .message-window#buy-window .price-option{width:calc(50% - 6px);height:auto;min-height:120px;max-width:calc(50% - 6px);overflow-x:hidden!important;box-sizing:border-box}}@media (min-width:993px) and (max-width:1180px){.doc-preview-section .doc-result-content{max-height:430px;overflow-y:auto}}@media (max-width:992px){.example-history,.operate,.tools-navbar{display:none}.merged-preview{max-width:inherit}#toast{padding:16px;min-width:235px;font-size:14px;gap:0}.cs-main-btn{padding:10px 14px;font-size:13px;min-width:100px}.cs-main-btn img{width:18px;height:18px}.doc-content-area{gap:15px;flex-direction:column;padding:15px}.doc-preview-section .doc-result-header{padding:10px 15px;flex-direction:column;align-items:flex-start;gap:8px}.doc-result-title{padding:0}.doc-result-actions{width:100%;justify-content:space-between}.doc-result-export-btn{margin-right:0;padding:6px 12px;font-size:13px}.doc-preview-section .doc-result-tab{padding:6px 20px}.doc-result-tabs{margin-right:0}.doc-preview-section,.doc-upload-section{width:100%}.doc-upload-bottom{gap:10px}.reupload-btn{min-width:130px}.doc-preview-section .doc-result-content{margin-bottom:0;max-height:300px;overflow-y:auto;-webkit-overflow-scrolling:touch}.doc-extract .message-window#buy-window .buy-box,.message-window#buy-window{overflow-y:auto!important;-webkit-overflow-scrolling:touch;left:0!important;right:0!important}.pagination-controls{display:none!important}.doc-prompt-toolbar{padding:12px 15px;flex-wrap:wrap}.prompt-mode-label{font-size:13px}.prompt-toolbar-right{gap:6px}.template-select-btn{padding:6px 12px;font-size:13px}.extract-action-btn{padding:6px 16px;font-size:13px}.extract-config-header{padding:12px 15px;flex-wrap:wrap;gap:10px}.extract-config-actions{flex-wrap:wrap;gap:8px}.extract-config-btn{padding:5px 10px;font-size:13px}.extract-config-content{padding:15px}.extract-config-textarea{min-height:100px;font-size:13px}.extract-config-collapsed{padding:10px 15px}.message-window#buy-window{padding:0!important;align-items:flex-end!important;justify-content:center!important;overflow-x:hidden!important;touch-action:pan-y;position:fixed!important;top:0!important;bottom:0!important}.doc-extract .message-window#buy-window .buy-box{width:100%!important;max-width:100%!important;max-height:92vh!important;overflow-x:hidden!important;margin:0!important;border-radius:20px 20px 0 0!important;background:#fff!important;position:relative;box-shadow:0 -4px 24px rgba(0,0,0,.12)!important;animation:slideUp .3s ease-out;display:flex;flex-direction:column}@keyframes slideUp{from{transform:translateY(100%)}to{transform:translateY(0)}}.doc-extract .message-window#buy-window .buy-box::before{content:'';position:absolute;top:8px;left:50%;transform:translateX(-50%);width:40px;height:4px;background:#e0e0e0;border-radius:2px;z-index:1}.doc-extract .message-window#buy-window .user-information{flex-wrap:wrap!important;padding:20px 20px 12px!important;gap:10px!important;width:100%!important;max-width:100%!important;align-items:center!important;justify-content:space-between!important;background:#fff;border-bottom:1px solid #f0f0f0;position:relative;overflow-x:hidden!important;box-sizing:border-box}.doc-extract .message-window#buy-window .user-information img{height:32px!important;width:auto!important;margin-right:8px!important}.doc-extract .message-window#buy-window .user-information>div{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;flex:1!important;min-width:0;flex-wrap:wrap}.doc-extract .message-window#buy-window .user-information>div>span{display:flex!important;flex-direction:row!important;align-items:center!important;gap:4px;white-space:nowrap}.doc-extract .message-window#buy-window .user-information>div>span img{width:18px!important;height:18px!important;margin-right:4px!important}.doc-extract .message-window#buy-window .user-information span{font-size:13px!important;margin-right:0!important;line-height:1.5!important;color:#666!important;font-weight:500}.doc-extract .message-window#buy-window .user-information .close-btn{position:absolute!important;top:18px!important;right:20px!important;font-size:24px!important;color:#999!important;cursor:pointer!important;z-index:10!important;line-height:1!important;width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:50%;transition:all .2s}.doc-extract .message-window#buy-window .user-information .close-btn:hover{background:#f5f5f5;color:#333}.doc-extract .message-window#buy-window .buy-information{flex-direction:column!important;height:auto!important;flex:1;width:100%!important;margin-bottom:0!important;border-radius:0!important;box-shadow:none!important;background:#fff;overflow-x:hidden!important;overflow-y:auto}.doc-extract .message-window#buy-window .buy-left{width:100%!important;max-width:100%!important;border-right:none!important;border-bottom:1px solid #f0f0f0!important;padding:16px!important;max-height:25vh!important;overflow-y:auto!important;overflow-x:hidden!important;background:#fafafa;box-sizing:border-box}.doc-extract .buy-left>div:last-child{padding:0}.doc-extract .message-window#buy-window .buy-left>div:first-child{gap:12px!important;display:flex!important;flex-wrap:wrap!important;width:100%!important;overflow-x:hidden!important;max-width:100%!important}.doc-extract .message-window#buy-window .price-option{width:calc(33.333% - 8px)!important;min-width:unset!important;max-width:unset!important;height:auto!important;min-height:110px!important;padding:0!important;box-sizing:border-box!important;border:2px solid #e0e0e0!important;border-radius:12px!important;transition:all .3s ease!important;background:#fff;overflow-x:hidden!important}.doc-extract .message-window#buy-window .price-option:active{transform:scale(.98)}.doc-extract .message-window#buy-window .price-option.active{border-color:#1772f6!important;box-shadow:0 4px 12px rgba(23,114,246,.2)!important;background:linear-gradient(135deg,rgba(23,114,246,.05) 0,rgba(23,114,246,.02) 100%)}.doc-extract .message-window#buy-window .price-option-bg{padding:16px 12px!important;box-sizing:border-box!important;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.doc-extract .message-window#buy-window .price-option h3{font-size:12px!important;margin-bottom:6px!important;line-height:1.4!important;word-break:break-word;color:#333;font-weight:600;text-align:center}.doc-extract .message-window#buy-window .price-option .price{font-size:18px!important;margin-bottom:4px!important;color:#FF6B6B;font-weight:700}.doc-extract .message-window#buy-window .price-option .validity{font-size:11px!important;color:#999}.doc-extract .message-window#buy-window .discount-tag{font-size:11px!important;padding:3px 8px!important;border-radius:0 12px 0 8px!important}.doc-extract .message-window#buy-window .discount-option{width:calc(50% - 6px)!important;min-width:calc(50% - 6px)!important;max-width:calc(50% - 6px)!important;height:auto!important;min-height:130px!important;padding:16px 12px!important;box-sizing:border-box!important;border:2px solid #e0e0e0!important;border-radius:12px!important;background:#fff;transition:all .3s ease;overflow-x:hidden!important}.doc-extract .message-window#buy-window .discount-option:active{transform:scale(.98)}.doc-extract .message-window#buy-window .discount-option h3{font-size:14px!important;margin-bottom:10px!important;color:#333;font-weight:600}.doc-extract .message-window#buy-window .discount-option .discount-rate{font-size:15px!important;color:#1772f6;font-weight:600}.doc-extract .message-window#buy-window .buy-right{width:100%!important;max-width:100%!important;padding:16px!important;background:#fff;overflow:hidden!important;box-sizing:border-box}.doc-extract .message-window#buy-window .buy-right>div:first-child{padding:0!important;margin-bottom:12px}.doc-extract .message-window#buy-window .buy-right h2{font-size:18px!important;margin-bottom:18px!important;padding-bottom:12px!important;border-bottom:2px solid #f0f0f0!important;color:#333;font-weight:600}.doc-extract .message-window#buy-window .buy-right p{font-size:14px!important;margin-bottom:8px!important;line-height:1.5!important;display:flex!important;justify-content:space-between!important;align-items:center;flex-wrap:wrap;color:#666}.doc-extract .message-window#buy-window .buy-right p span{word-break:break-word;text-align:right;color:#333;font-weight:500}.doc-extract .message-window#buy-window .buy-right p:last-of-type span{color:#FF6B6B!important;font-weight:700;font-size:16px!important}.doc-extract .message-window#buy-window .buy-right>div:last-child{padding:0!important;margin-top:4px}.doc-extract .message-window#buy-window .buy-right button{height:50px!important;font-size:16px!important;border-radius:12px!important;width:100%!important;background:linear-gradient(135deg,#1772f6 0,#4f9cf9 100%)!important;color:#fff!important;font-weight:600!important;box-shadow:0 4px 12px rgba(23,114,246,.3)!important;transition:all .3s ease!important;border:none!important}.doc-extract .message-window#buy-window .buy-right button:active{transform:translateY(1px);box-shadow:0 2px 8px rgba(23,114,246,.3)!important}}#svg-overlay,.dialog-box,.payment-option.active .payment-option-radio::after{top:50%;left:50%;transform:translate(-50%,-50%)}.dialog-box{position:fixed;width:22%;background-color:#fff;padding:20px;border-radius:5px;box-shadow:0 2px 10px rgba(0,0,0,.2);z-index:100;min-width:300px;text-align:center}.dialog-box .btn{width:90px;height:35px;border-radius:10px;border:1px solid #999;background-color:#1772f6;color:#fff}.radio{margin-right:10px;accent-color:#1772f6}.dialog-box-btn{width:100%}.dialog-box-radio{display:flex;flex-wrap:wrap;gap:50px;width:100%;margin:40px 0}.template-save-dialog{max-width:420px;width:26%}.template-save-dialog h2{font-size:18px;margin-bottom:20px;text-align:left}.template-save-dialog input#templateNameInput{width:100%;height:40px;padding:0 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;box-sizing:border-box}.template-save-dialog input#templateNameInput:focus{outline:0;border-color:#1772f6;box-shadow:0 0 0 2px rgba(23,114,246,.15)}.buy-box,.price-option:hover{box-shadow:0 0 10px rgba(0,0,0,.1)}.template-save-dialog-btns{margin-top:24px;display:flex;justify-content:flex-end;gap:12px}.template-save-dialog-btns .btn{width:90px}.template-save-dialog-btns .template-cancel-btn{background-color:#fff!important;color:#000!important;border-color:#d1d5db}.message-window#buy-window{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:1000}.buy-box{width:50%;overflow:hidden;display:flex;flex-direction:column;align-items:center;background:url(../image/bg.png) center top no-repeat fixed #fff}.user-information{display:flex;width:90%;align-items:flex-end;justify-content:space-between;padding:15px 50px;position:relative}.buy-left,.buy-right>div:first-child{padding:20px}.user-information img{width:auto;height:50px;border-radius:50%;margin-right:15px}.user-information span{color:#666;font-size:14px;margin-right:10px}.buy-information{display:flex;height:500px;margin-bottom:30px;background-color:#fff;width:90%;border-radius:10px;box-shadow:0 0 10px rgba(0,0,0,.3)}.buy-left{width:75%;display:flex;border-right:1px solid #eee}.buy-left>div:first-child{display:flex;gap:15px;flex-wrap:wrap;overflow-y:auto}.discount-option,.price-option-bg{flex-direction:column;display:flex}.discount-option{box-sizing:content-box;width:25%;height:24%;border:1px solid #eee;border-radius:5px;padding:15px;text-align:center;background-color:rgba(245,245,245,.98);position:relative;overflow:hidden;justify-content:center;align-items:center}.discount-tag{position:absolute;top:0;right:0;background-color:#FF6B6B;color:#fff;padding:2px 8px;border-radius:0 5px}.discount-option h3{font-size:16px;margin-bottom:15px}.discount-option .discount-rate{font-size:24px;color:#FF6B6B;font-weight:700}.price-option{width:30%;height:30%;position:relative;border:1px solid #c2c1c1;border-radius:5px;padding:1px;text-align:center;transition:all .3s;cursor:pointer}.price-option:hover{border:1px solid #fff}.price-option-bg{width:100%;height:100%;justify-content:center;align-items:center;overflow:hidden;border-radius:5px;background-color:rgba(245,245,245,.98)}.price-option.active{border-color:#FF6B6B;background:linear-gradient(90deg,red,#1772f6)}.price-option.first{background-color:rgba(255,107,107,.1)}.price-option h3{font-size:14px;font-weight:700;margin-bottom:10px}.price-option .price{font-size:24px;color:#FF6B6B;font-weight:700;margin-bottom:5px}.price-option .per-page,.price-option .validity{color:#999;font-size:12px}.price-option .per-page{margin-bottom:10px}.buy-right{width:35%;display:flex;flex-direction:column;justify-content:space-between}.buy-right h2{font-size:18px;margin-bottom:20px;padding-bottom:10px;border-bottom:1px dashed #eee}.buy-right p{display:flex;justify-content:space-between;margin-bottom:15px;font-size:14px;color:#666}.buy-right p span{color:#333}.buy-right p:last-child span{color:#FF6B6B;font-weight:700}.buy-right>div:last-child{padding:20px;text-align:center;border-radius:0 0 10px}.buy-right button{width:100%;height:45px;background-color:#1772f6;color:#fff;border:none;border-radius:5px;font-size:16px;cursor:pointer;transition:all .3s}.buy-right button:hover{background-color:#1061d9}.buy-box .close-btn{position:absolute;top:15px;right:20px;font-size:24px;color:#999;cursor:pointer}.pay-window{z-index:9999999;position:fixed;right:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.pay-box{position:absolute;top:20%;left:calc(50% - 150px);width:300px;height:300px;padding:10px;background-color:#fff;border-radius:6px}.pay-title{text-align:center;margin:10px;font-size:18px;color:#000}.pay-close{position:absolute;top:15px;right:15px;font-size:20px}#pay-qrcode{width:128px;height:128px;margin-left:calc(50% - 64px);margin-top:40px;margin-bottom:40px}.pay-text{text-align:center;bottom:10px;font-size:14px;color:#000}#user-window .message-buttons{display:flex;justify-content:center;width:100%;padding:10px}#user-window .message-continue-btn{margin-left:0;width:70px;height:30px;font-size:16px;letter-spacing:1px;color:#fff;background-color:#2153F3;border-color:transparent!important;border-radius:6px;cursor:pointer}.doc-img-controls{display:flex;align-items:center;justify-content:center;gap:10px}.doc-img-controls img{display:inline-block;width:20px;height:20px;cursor:pointer;transition:all .2s ease}.doc-img-controls img:hover{transform:scale(1.2)}