              /* 基础容器样式 */
              .pdf-app-container {
                width: 100%;
                max-width: 100%; /* 修复：防止宽度超出 */
                box-sizing: border-box;
                font-family: Arial, sans-serif;
                overflow-x: hidden; /* 修复：防止水平滚动 */
              }
              
              /* 拖拽上传区域 */
              .pdf-upload-area {
                border: 2px dashed #d0d0d0;
                border-radius: 8px;
                padding: 40px 20px;
                text-align: center;
                cursor: pointer;
                transition: all 0.3s ease;
                background: #fafafa;
                margin-bottom: 20px;
                position: relative;
                max-width: 100%; /* 修复：防止宽度超出 */
                box-sizing: border-box; /* 修复：包含内边距 */
              }
              
              .pdf-upload-area:hover {
                border-color: #4CAF50;
                background: #f8fff8;
              }
              
              .pdf-upload-dragover {
                border-color: #4CAF50;
                background: #f0fff0;
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(76, 175, 80, 0.1);
              }
              
              .pdf-upload-content {
                display: block;
                max-width: 100%; /* 修复：防止宽度超出 */
              }
              
              .pdf-upload-icon-wrapper {
                display: flex;
                justify-content: center;
                align-items: center;
                margin-bottom: 15px;
              }
              
              .pdf-upload-icon {
                color: #999;
              }
              
              .pdf-upload-area:hover .pdf-upload-icon {
                color: #4CAF50;
              }
              
              .pdf-upload-text {
                font-size: 16px;
                color: #666;
                margin: 0 0 8px 0;
              }
              
              .pdf-upload-browse {
                color: #4CAF50;
                text-decoration: underline;
                cursor: pointer;
                font-weight: 500;
              }
              
              .pdf-upload-browse:hover {
                color: #3d8b40;
              }
              
              .pdf-upload-hint {
                font-size: 13px;
                color: #999;
                margin: 0;
              }
              
              /* 文件信息 */
              .pdf-file-info {
                display: none;
                align-items: center;
                justify-content: center;
                gap: 8px;
                padding: 12px 20px;
                background: white;
                border-radius: 6px;
                border: 1px solid #e0e0e0;
                max-width: 400px;
                margin: 0 auto;
                box-sizing: border-box; /* 修复：包含内边距 */
              }
              
              .pdf-file-icon {
                color: #4CAF50;
                flex-shrink: 0;
              }
              
              .pdf-file-name {
                color: #333;
                font-weight: 500;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                max-width: 100%; /* 修复：防止文本溢出 */
              }
              
              .pdf-file-input {
                display: none;
              }
              
              /* 控制面板样式 */
              .pdf-control-panel {
                display: none;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 20px;
                padding: 15px;
                background: #f8f9fa;
                border-radius: 8px;
                flex-wrap: wrap;
                max-width: 100%; /* 修复：防止宽度超出 */
                box-sizing: border-box; /* 修复：包含内边距 */
              }
              
              /* 按钮通用样式 */
              .pdf-btn {
                padding: 8px 16px;
                border: none;
                border-radius: 4px;
                cursor: pointer;
                font-size: 14px;
                font-weight: 500;
                transition: all 0.2s;
                min-width: 120px;
                box-sizing: border-box; /* 修复：包含内边距 */
              }
              
              .pdf-btn:hover {
                opacity: 0.9;
              }
              
              .pdf-btn:active {
                transform: translateY(1px);
              }
              
              .pdf-btn-primary {
                background: #2196F3;
                color: white;
              }
              
              .pdf-btn-success {
                background: #4CAF50;
                color: white;
              }
              
              .pdf-btn-range {
                background: #666;
                color: white;
                min-width: auto;
              }
              
              .pdf-btn-disabled {
                opacity: 0.6;
                cursor: not-allowed;
              }
              
              .pdf-btn-disabled:hover {
                opacity: 0.6;
              }
              
              /* 操作按钮区域 */
              .pdf-action-buttons {
                display: flex;
                gap: 10px;
              }
              
              /* 范围选择器样式 */
              .pdf-range-selector {
                display: flex;
                align-items: center;
                gap: 8px;
                flex-wrap: wrap;
                max-width: 100%; /* 修复：防止宽度超出 */
              }
              
              .pdf-range-label {
                font-size: 14px;
                color: #666;
              }
              
              .pdf-range-inputs {
                display: flex;
                align-items: center;
                gap: 4px;
              }
              
              .pdf-page-input {
                width: 70px;
                padding: 6px 8px;
                border: 1px solid #ddd;
                border-radius: 4px;
                font-size: 13px;
                text-align: center;
                max-width: 100%; /* 修复：防止输入框溢出 */
                box-sizing: border-box; /* 修复：包含内边距 */
              }
              
              .pdf-page-input:focus {
                outline: none;
                border-color: #2196F3;
                box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
              }
              
              .pdf-page-input::placeholder {
                color: #999;
              }
              
              .pdf-range-separator {
                color: #666;
              }
              
              .pdf-total-pages {
                font-size: 12px;
                color: #666;
                margin-left: 8px;
              }
              
              /* 页面预览网格 */
              .pdf-pages-grid {
                display: grid;
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 16px;
                margin-top: 20px;
                max-width: 100%; /* 修复：防止宽度超出 */
                box-sizing: border-box; /* 修复：包含内边距 */
              }
              
              /* 页面包装器 */
              .pdf-page-wrapper {
                border: 1px solid #e0e0e0;
                border-radius: 8px;
                padding: 12px;
                background: white;
                transition: all 0.2s ease;
                cursor: pointer;
                display: flex;
                flex-direction: column;
                align-items: center;
                position: relative;
                max-width: 100%; /* 修复：防止宽度超出 */
                box-sizing: border-box; /* 修复：包含内边距 */
              }
              
              .pdf-page-wrapper:hover {
                border-color: #bdbdbd;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
              }
              
              .pdf-page-selected {
                border-color: #2196F3;
                box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
                transform: translateY(-2px);
              }
              
              .pdf-page-selected .pdf-canvas-wrapper {
                border-color: #2196F3;
              }
              
              /* 画布容器 */
              .pdf-canvas-wrapper {
                width: 120px;
                height: 170px;
                display: flex;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                margin-bottom: 8px;
                background: #f8f9fa;
                border-radius: 4px;
                border: 2px solid transparent;
                max-width: 100%; /* 修复：防止宽度超出 */
              }
              
              .pdf-canvas {
                max-width: 100%; /* 关键修复：画布不超过容器 */
                max-height: 100%;
                object-fit: contain;
                image-rendering: -webkit-optimize-contrast;
                image-rendering: crisp-edges;
              }
              
              /* 页面复选框 */
              .pdf-page-checkbox {
                margin: 8px 0;
                transform: scale(1.2);
                cursor: pointer;
              }
              
              /* 页面标签 */
              .pdf-page-label {
                font-size: 14px;
                color: #666;
                font-weight: 500;
              }
              
              /* 响应式设计 - 手机端优化 */
              @media (max-width: 768px) {
                .pdf-control-panel {
                  flex-direction: column;
                  align-items: stretch;
                  gap: 15px;
                }
                
                .pdf-range-selector {
                  justify-content: center;
                  gap: 6px;
                  max-width: 100%; /* 修复：防止宽度超出 */
                }
                
                .pdf-action-buttons {
                  justify-content: center;
                }
                
                .pdf-btn {
                  min-width: 100px;
                  padding: 8px 12px;
                  font-size: 13px;
                  max-width: 100%; /* 修复：防止按钮溢出 */
                }
                
                .pdf-range-label {
                  width: 100%;
                  text-align: center;
                  margin-bottom: 5px;
                }
                
                .pdf-page-input {
                  width: 60px;
                  max-width: 100%; /* 修复：防止输入框溢出 */
                }
                
                .pdf-total-pages {
                  width: 100%;
                  text-align: center;
                  margin-left: 0;
                  margin-top: 5px;
                }
                
                .pdf-pages-grid {
                  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                  gap: 12px;
                  max-width: 100%; /* 修复：防止宽度超出 */
                }
                
                .pdf-canvas-wrapper {
                  width: 100px;
                  height: 140px;
                  max-width: 100%; /* 修复：防止宽度超出 */
                }
                
                .pdf-upload-area {
                  padding: 30px 15px;
                  max-width: 100%; /* 修复：防止宽度超出 */
                }
                
                .pdf-upload-text {
                  font-size: 14px;
                }
              }
              
              @media (max-width: 480px) {
                .pdf-action-buttons {
                  flex-direction: column;
                  width: 100%;
                }
                
                .pdf-pages-grid {
                  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
                  gap: 10px;
                  max-width: 100%; /* 修复：防止宽度超出 */
                }
                
                .pdf-page-wrapper {
                  padding: 8px;
                }
                
                .pdf-canvas-wrapper {
                  width: 90px;
                  height: 120px;
                  max-width: 100%; /* 修复：防止宽度超出 */
                }
                
                .pdf-page-label {
                  font-size: 12px;
                }
                
                .pdf-btn {
                  min-width: auto;
                  width: 100%;
                  max-width: 100%; /* 修复：防止按钮溢出 */
                }
                
                .pdf-upload-area {
                  padding: 20px 10px;
                  max-width: 100%; /* 修复：防止宽度超出 */
                }
                
                .pdf-upload-icon-wrapper img {
                  max-width: 100%; /* 修复：防止图片溢出 */
                  height: auto;
                }
                
                .pdf-upload-text {
                  font-size: 13px;
                }
                
                .pdf-upload-hint {
                  font-size: 12px;
                }
                
                .pdf-file-info {
                  padding: 8px 12px;
                  max-width: 100%; /* 修复：防止宽度超出 */
                }
                
                .pdf-file-name {
                  max-width: 200px; /* 限制文件名宽度 */
                }
              }