﻿      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
          'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
      }

      /* Navigation */
      .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 40px;
        z-index: 1000;
      }

      .navbar-logo {
        height: 40px;
        width: auto;
      }

      .navbar-menu {
        display: flex;
        gap: 32px;
      }

      .navbar-menu a {
        color: #333;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        transition: color 0.3s ease;
        position: relative;
      }

      .navbar-menu a:hover,
      .navbar-menu a.active {
        color: #667eea;
      }

      .navbar-menu a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        transition: width 0.3s ease;
      }

      .navbar-menu a:hover::after,
      .navbar-menu a.active::after {
        width: 100%;
      }

      .main-content {
        flex: 1;
        padding: 20px;
        padding-top: 80px;
        padding-bottom: 100px;
      }

      .container {
        max-width: 1200px;
        margin: 0 auto;
      }

      /* Header */
      .header {
        text-align: center;
        padding: 10px 20px 30px;
        color: white;
      }

      .header h1 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 8px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
      }

      .header p {
        font-size: 1rem;
        opacity: 0.9;
      }

      /* Main Layout - Left Right Split */
      .main-card {
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        display: grid;
        grid-template-columns: 1fr 1.5fr;
      }

      /* Left Panel */
      .left-panel {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
        padding: 30px;
        border-right: 1px solid #e8e8e8;
      }

      /* Right Panel */
      .right-panel {
        padding: 30px;
      }

      /* Section Title */
      .section-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .section-title .icon {
        font-size: 1.3rem;
      }

      /* Detection Type List */
      .detection-types {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
      }

      .detection-type {
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        padding: 14px 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 12px;
        background: white;
      }

      .detection-type:hover {
        border-color: #667eea;
        background: #fff;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
      }

      .detection-type.selected {
        border-color: #667eea;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
      }

      .detection-type .radio {
        width: 20px;
        height: 20px;
        border: 2px solid #ccc;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.3s ease;
      }

      .detection-type.selected .radio {
        border-color: #667eea;
      }

      .detection-type.selected .radio::after {
        content: '';
        width: 10px;
        height: 10px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 50%;
      }

      .detection-type .info {
        flex: 1;
      }

      .detection-type .name {
        font-size: 0.95rem;
        font-weight: 600;
        color: #1a1a1a;
      }

      /* Info Box - Detection Type Info */
      .info-box {
        background: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      }

      .info-box-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #667eea;
        margin-bottom: 12px;
      }

      .info-desc-main {
        color: #555;
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 16px;
      }

      .info-features {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }

      .feature-item {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
        color: #667eea;
        font-size: 0.8rem;
        padding: 6px 12px;
        border-radius: 20px;
        border: 1px solid rgba(102, 126, 234, 0.2);
      }

      /* Version Info Box */
      .version-info-box {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
        border-radius: 12px;
        padding: 16px;
        margin-top: 16px;
        border: 1px solid rgba(102, 126, 234, 0.1);
      }

      .version-info-title {
        font-size: 1rem;
        font-weight: 600;
        color: #667eea;
        margin-bottom: 12px;
      }

      .version-info-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      .version-info-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .version-info-item .label {
        color: #666;
        font-size: 0.85rem;
      }

      .version-info-item .value {
        color: #1a1a1a;
        font-weight: 500;
        font-size: 0.9rem;
      }

      .version-info-item .value.highlight {
        color: #667eea;
        font-weight: 600;
      }

      .version-info-desc {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(102, 126, 234, 0.1);
        color: #888;
        font-size: 0.8rem;
        line-height: 1.6;
      }

      .info-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
      }

      .info-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .info-item .label {
        color: #666;
        font-size: 0.9rem;
      }

      .info-item .value {
        color: #1a1a1a;
        font-weight: 500;
        font-size: 0.95rem;
      }

      .info-item .value.highlight {
        color: #667eea;
        font-weight: 600;
      }

      .info-desc {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #f0f0f0;
        color: #888;
        font-size: 0.85rem;
        line-height: 1.6;
      }

      /* Format Template Select */
      .form-select {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1rem;
        color: #333;
        background-color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
      }

      .form-select:hover {
        border-color: #667eea;
      }

      .form-select:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
      }

      .format-template-note {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        margin-top: 10px;
        padding: 10px 14px;
        background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
        border-radius: 8px;
        border-left: 3px solid #667eea;
        font-size: 0.85rem;
        color: #555;
        line-height: 1.6;
      }

      .format-template-note::before {
        content: '💡';
        font-size: 0.9rem;
        flex-shrink: 0;
      }

      /* Search Select (可搜索下拉框) */
      .search-select-wrapper {
        position: relative;
      }

      .search-select-input {
        width: 100%;
        padding: 12px 16px;
        padding-right: 40px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 1rem;
        color: #333;
        background-color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .search-select-input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
      }

      .search-select-input::placeholder {
        color: #999;
      }

      .search-select-wrapper::after {
        content: '';
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #666;
        pointer-events: none;
      }

      .search-select-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 2px solid #667eea;
        border-radius: 8px;
        margin-top: 4px;
        max-height: 250px;
        overflow: hidden;
        z-index: 100;
        display: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      }

      .search-select-dropdown.show {
        display: block;
      }

      .search-select-list {
        max-height: 250px;
        overflow-y: auto;
      }

      .search-select-option {
        padding: 10px 16px;
        cursor: pointer;
        transition: background 0.2s ease;
        font-size: 0.95rem;
        color: #333;
      }

      .search-select-option:hover {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
        color: #667eea;
      }

      .search-select-option.selected {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
      }

      .search-select-option.no-result {
        color: #999;
        cursor: default;
      }

      .search-select-option.no-result:hover {
        background: transparent;
        color: #999;
      }

      /* Version Select */
      .version-select {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 24px;
      }

      .version-option {
        padding: 10px 20px;
        border: 2px solid #e0e0e0;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.9rem;
        background: white;
      }

      .version-option:hover {
        border-color: #667eea;
        background: #f8f8ff;
      }

      .version-option.selected {
        border-color: #667eea;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
      }

      /* File Upload */
      .file-upload {
        border: 2px dashed #d0d0d0;
        border-radius: 12px;
        padding: 30px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background: #fafafa;
        margin-bottom: 24px;
      }

      .file-upload:hover {
        border-color: #667eea;
        background: #f8f8ff;
      }

      .file-upload.dragover {
        border-color: #667eea;
        background: #f0f0ff;
      }

      .file-upload .upload-icon {
        font-size: 40px;
        margin-bottom: 12px;
      }

      .file-upload .upload-text {
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 6px;
      }

      .file-upload .upload-hint {
        font-size: 0.8rem;
        color: #999;
      }

      .file-upload input[type="file"] {
        display: none;
      }

      .input-mode-tabs {
        display: flex;
        gap: 0;
        margin-bottom: 16px;
        border-radius: 10px;
        overflow: hidden;
        border: 2px solid #e0e0e0;
        background: #f5f5f5;
      }

      .input-mode-tab {
        flex: 1;
        padding: 12px 20px;
        text-align: center;
        cursor: pointer;
        font-size: 0.95rem;
        font-weight: 500;
        color: #666;
        background: transparent;
        border: none;
        transition: all 0.3s ease;
      }

      .input-mode-tab:hover {
        background: rgba(102, 126, 234, 0.05);
        color: #667eea;
      }

      .input-mode-tab.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
      }

      .input-mode-tab:first-child {
        border-right: 1px solid #e0e0e0;
      }

      .input-mode-tab:last-child {
        border-left: 1px solid #e0e0e0;
      }

      .input-mode-tab.active:first-child,
      .input-mode-tab.active:last-child {
        border-color: transparent;
      }

      .text-paste-section {
        display: none;
        margin-bottom: 24px;
      }

      .text-paste-section.show {
        display: block;
      }

      .text-paste-wrapper {
        position: relative;
      }

      .text-paste-textarea {
        width: 100%;
        min-height: 200px;
        padding: 16px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        font-size: 0.95rem;
        line-height: 1.7;
        resize: vertical;
        transition: all 0.3s ease;
        background: #fafafa;
        font-family: inherit;
      }

      .text-paste-textarea:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        background: white;
      }

      .text-paste-textarea::placeholder {
        color: #aaa;
      }

      .text-paste-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        padding: 0 4px;
        gap: 12px;
      }

      .text-paste-hint {
        font-size: 0.8rem;
        color: #999;
      }

      .text-paste-count {
        font-size: 0.85rem;
        color: #666;
      }

      .text-paste-count .count-value {
        color: #667eea;
        font-weight: 600;
      }

      .text-paste-count.warning {
        color: #e67e22;
      }

      .text-paste-count.warning .count-value {
        color: #e67e22;
      }

      .text-paste-count.error {
        color: #dc3545;
      }

      .text-paste-count.error .count-value {
        color: #dc3545;
      }

      .text-paste-actions {
        display: flex;
        gap: 10px;
        margin-top: 12px;
      }

      .text-paste-btn {
        padding: 10px 20px;
        border: none;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 6px;
      }

      .text-paste-btn.clear {
        background: #f5f5f5;
        color: #666;
        border: 1px solid #ddd;
      }

      .text-paste-btn.clear:hover {
        background: #e8e8e8;
      }

      .text-paste-btn.clear:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }

      .file-upload-section-wrapper {
        display: block;
      }

      .file-upload-section-wrapper.hidden {
        display: none;
      }
      .file-list {
        margin-bottom: 16px;
      }

      .file-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px;
        background: linear-gradient(135deg, #f8fff8 0%, #f0fff0 100%);
        border-radius: 12px;
        margin-top: 12px;
        border: 1px solid rgba(40, 167, 69, 0.2);
        transition: all 0.3s ease;
      }

      .file-item:hover {
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
        transform: translateY(-1px);
      }

      .file-preview {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }

      .file-type-icon {
        font-size: 24px;
      }

      .file-details {
        flex: 1;
        min-width: 0;
      }

      .file-details .file-name {
        font-size: 0.95rem;
        font-weight: 600;
        color: #1a1a1a;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 4px;
      }

      .file-meta {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.8rem;
      }

      .file-meta .file-size {
        color: #888;
      }

      .file-meta .file-status {
        color: #28a745;
        font-weight: 500;
      }

      .file-item .remove-btn {
        background: rgba(220, 53, 69, 0.1);
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 14px;
        color: #dc3545;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }

      .file-item .remove-btn:hover {
        background: #dc3545;
        color: white;
        transform: scale(1.1);
      }

      /* Form Fields */
      .form-group {
        margin-bottom: 16px;
      }

      .form-group label {
        display: block;
        font-size: 0.9rem;
        font-weight: 500;
        color: #333;
        margin-bottom: 6px;
      }

      .form-group label .required {
        color: #f44336;
        margin-left: 4px;
      }

      .form-group label .char-count {
        float: right;
        font-weight: 400;
        color: #999;
        font-size: 0.8rem;
      }

      .form-group input {
        width: 100%;
        padding: 10px 14px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        background: white;
      }

      .form-group input:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
      }

      .form-group input:disabled {
        background: #f5f5f5;
        cursor: not-allowed;
      }

      /* Date Picker Wrapper */
      .date-picker-wrapper {
        position: relative;
        cursor: pointer;
      }

      .date-picker-wrapper input[type="date"] {
        cursor: pointer;
      }

      .date-picker-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        cursor: pointer;
        opacity: 0;
      }

      .date-picker-wrapper input[type="date"]::-webkit-datetime-edit {
        pointer-events: none;
      }

      .date-picker-wrapper input[type="date"]::-webkit-datetime-edit-fields-wrapper {
        pointer-events: none;
      }

      .date-picker-wrapper input[type="date"]::-webkit-datetime-edit-text {
        pointer-events: none;
      }

      .date-picker-wrapper input[type="date"]::-webkit-datetime-edit-month-field {
        pointer-events: none;
      }

      .date-picker-wrapper input[type="date"]::-webkit-datetime-edit-day-field {
        pointer-events: none;
      }

      .date-picker-wrapper input[type="date"]::-webkit-datetime-edit-year-field {
        pointer-events: none;
      }

      /* Submit Button */
      .submit-section {
        margin-top: 24px;
        text-align: center;
      }

      .submit-btn {
        width: 100%;
        padding: 14px 40px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
      }

      .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
      }

      .submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
      }

      .submit-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 14px;
        padding: 12px 16px;
        background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
        border-radius: 10px;
        border: 1px solid rgba(255, 193, 7, 0.3);
        font-size: 0.85rem;
        color: #856404;
      }

      .submit-hint::before {
        content: '📧';
        font-size: 1rem;
      }

      /* Custom Modal */
      .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
      }

      .modal-overlay.show {
        opacity: 1;
        visibility: visible;
      }

      .modal-container {
        background: white;
        border-radius: 20px;
        padding: 32px 40px;
        max-width: 380px;
        width: 90%;
        text-align: center;
        transform: scale(0.8) translateY(20px);
        transition: transform 0.3s ease;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      }

      .modal-overlay.show .modal-container {
        transform: scale(1) translateY(0);
      }

      .modal-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 28px;
        font-weight: bold;
      }

      .modal-icon.warning {
        background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
        color: #856404;
        border: 2px solid #ffc107;
      }

      .modal-icon.success {
        background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
        color: #155724;
        border: 2px solid #28a745;
      }

      .modal-icon.error {
        background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
        color: #721c24;
        border: 2px solid #dc3545;
      }

      .modal-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 12px;
      }

      .modal-message {
        font-size: 1.1rem;
        color: #333;
        margin-bottom: 24px;
        line-height: 1.6;
      }

      .modal-btn {
        padding: 12px 40px;
        border: none;
        border-radius: 25px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .modal-btn.warning {
        background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
        color: #333;
      }

      .modal-btn.warning:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
      }

      .modal-btn.success {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
      }

      .modal-btn.success:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
      }

      .modal-btn.error {
        background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
        color: white;
      }

      .modal-btn.error:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
      }

      /* Confirm Modal */
      .confirm-modal {
        min-width: 360px;
      }

      .modal-btns {
        display: flex;
        gap: 12px;
        justify-content: center;
      }

      .modal-btn.cancel {
        background: #f5f5f5;
        color: #666;
        border: 1px solid #ddd;
        min-width: 100px;
      }

      .modal-btn.cancel:hover {
        background: #e8e8e8;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      }

      .modal-btn.confirm {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        min-width: 100px;
      }

      .modal-btn.confirm:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
      }

      /* Parsing Overlay */
      .parsing-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 20000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
      }

      .parsing-overlay.show {
        opacity: 1;
        visibility: visible;
      }

      .parsing-container {
        text-align: center;
        color: white;
        max-width: 400px;
        padding: 40px;
      }

      .parsing-icon {
        width: 100px;
        height: 100px;
        margin: 0 auto 30px;
        position: relative;
      }

      .parsing-icon::before {
        content: '📄';
        font-size: 60px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: float 2s ease-in-out infinite;
      }

      @keyframes float {
        0%, 100% { transform: translate(-50%, -50%); }
        50% { transform: translate(-50%, -60%); }
      }

      .parsing-spinner {
        width: 100px;
        height: 100px;
        border: 4px solid rgba(255, 255, 255, 0.3);
        border-top-color: white;
        border-radius: 50%;
        animation: spin 1s linear infinite;
      }

      @keyframes spin {
        to { transform: rotate(360deg); }
      }

      .parsing-title {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 16px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      }

      .parsing-text {
        font-size: 1rem;
        opacity: 0.9;
        margin-bottom: 24px;
        min-height: 24px;
      }

      .parsing-progress {
        width: 100%;
        height: 8px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: 12px;
      }

      .parsing-progress-fill {
        height: 100%;
        background: white;
        border-radius: 4px;
        width: 0%;
        transition: width 0.3s ease;
      }

      .parsing-percent {
        font-size: 0.9rem;
        opacity: 0.8;
      }

      .parsing-hint {
        margin-top: 30px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        font-size: 0.85rem;
        opacity: 0.8;
      }

      .parsing-hint-title {
        font-weight: 600;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
      }

      /* Floating Toolbar - Desktop */
      .floating-toolbar {
        position: fixed;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      .floating-item {
        width: 56px;
        height: 56px;
        background: white;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        text-decoration: none;
        position: relative;
      }

      .floating-item:hover {
        transform: translateX(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
      }

      .floating-item .icon {
        font-size: 24px;
      }

      .floating-item .label {
        font-size: 10px;
        color: #666;
        white-space: nowrap;
      }

      .floating-item .detail-bubble {
        position: absolute;
        right: calc(100% + 12px);
        top: 50%;
        transform: translateY(-50%);
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 8px 16px;
        white-space: nowrap;
        font-size: 13px;
        color: #333;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
      }

      .floating-item .detail-bubble::after {
        content: '';
        position: absolute;
        right: -6px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid white;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
      }

      .floating-item:hover .detail-bubble {
        opacity: 1;
        visibility: visible;
      }

      /* WeChat QR Code Bubble */
      .floating-item .qr-bubble {
        position: absolute;
        right: calc(100% + 12px);
        top: 50%;
        transform: translateY(-50%);
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        text-align: center;
      }

      .floating-item .qr-bubble::after {
        content: '';
        position: absolute;
        right: -6px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid white;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
      }

      .floating-item:hover .qr-bubble {
        opacity: 1;
        visibility: visible;
      }

      .floating-item .qr-bubble img {
        width: 150px;
        height: 150px;
        border-radius: 8px;
      }

      .floating-item .qr-bubble .qr-text {
        margin-top: 8px;
        font-size: 12px;
        color: #666;
      }

      /* Back to Top - Desktop */
      .back-to-top {
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        border: none;
        margin-top: 8px;
      }

      .back-to-top.visible {
        opacity: 1;
        visibility: visible;
      }

      .back-to-top:hover {
        transform: translateX(-4px);
        box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
      }

      .back-to-top .icon {
        font-size: 24px;
      }

      .back-to-top .label {
        font-size: 10px;
        color: white;
        white-space: nowrap;
      }

      /* Bottom Toolbar - Mobile */
      .bottom-toolbar {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        z-index: 999;
        padding: 8px 0;
        padding-bottom: max(8px, env(safe-area-inset-bottom));
      }

      .bottom-toolbar-inner {
        display: flex;
        justify-content: space-around;
        align-items: center;
      }

      .bottom-toolbar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 8px 12px;
        text-decoration: none;
        color: #666;
        transition: all 0.3s ease;
        border-radius: 8px;
      }

      .bottom-toolbar-item:active {
        background: #f5f5f5;
      }

      .bottom-toolbar-item .icon {
        font-size: 22px;
      }

      .bottom-toolbar-item .label {
        font-size: 11px;
        color: #666;
      }

      /* Bottom Toolbar QR Code Popup */
      .bottom-toolbar-item {
        position: relative;
      }

      .bottom-toolbar-item .qr-popup {
        position: absolute;
        bottom: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        text-align: center;
        z-index: 1000;
      }

      .bottom-toolbar-item .qr-popup::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-top: 6px solid white;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
      }

      .bottom-toolbar-item:hover .qr-popup,
      .bottom-toolbar-item:active .qr-popup {
        opacity: 1;
        visibility: visible;
      }

      .bottom-toolbar-item .qr-popup img {
        width: 120px;
        height: 120px;
        border-radius: 8px;
      }

      .bottom-toolbar-item .qr-popup .qr-text {
        margin-top: 6px;
        font-size: 11px;
        color: #666;
        white-space: nowrap;
      }

      /* Footer */
      .footer {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        margin-top: auto;
        padding: 30px 20px 20px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        width: 100%;
      }

      .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
      }

      .footer-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        margin-bottom: 20px;
      }

      .footer-links a {
        color: #666;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s ease;
      }

      .footer-links a:hover {
        color: #667eea;
      }

      /* Footer Contact */
      .footer-contact {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        margin-bottom: 20px;
        padding-bottom: 20px;
      }

      .contact-item {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #666;
        font-size: 0.9rem;
      }

      .contact-item .contact-icon {
        font-size: 1.1rem;
      }

      .contact-item.wechat-contact {
        position: relative;
        cursor: pointer;
      }

      .contact-item.wechat-contact:hover {
        color: #667eea;
      }

      .contact-item .wechat-qr {
        position: absolute;
        bottom: calc(100% + 15px);
        left: 50%;
        transform: translateX(-50%);
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        text-align: center;
        z-index: 10;
      }

      .contact-item .wechat-qr::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-top: 6px solid white;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
      }

      .contact-item.wechat-contact:hover .wechat-qr {
        opacity: 1;
        visibility: visible;
      }

      .contact-item .wechat-qr img {
        width: 120px;
        height: 120px;
        border-radius: 8px;
      }

      .contact-item .wechat-qr p {
        margin: 8px 0 0;
        font-size: 12px;
        color: #666;
      }

      .footer-bottom {
        border-top: 1px solid #e0e0e0;
        padding-top: 16px;
      }

      .footer-bottom p {
        color: #999;
        font-size: 0.85rem;
        margin-bottom: 6px;
      }

      .footer-bottom a {
        color: #667eea;
        text-decoration: none;
      }

      .footer-bottom a:hover {
        text-decoration: underline;
      }

      /* Responsive - Small Screen: Top-Bottom Layout */
      @media (max-width: 768px) {
        .main-card {
          grid-template-columns: 1fr;
        }

        .left-panel {
          border-right: none;
          border-bottom: 1px solid #e8e8e8;
        }

        /* Hide floating toolbar on mobile */
        .floating-toolbar {
          display: none;
        }

        /* Hide bottom toolbar on mobile */
        .bottom-toolbar {
          display: none;
        }

        /* Adjust main content padding on mobile */
        .main-content {
          padding-bottom: 20px;
        }

        .navbar {
          padding: 0 20px;
        }

        .navbar-menu {
          gap: 20px;
        }

        .navbar-menu a {
          font-size: 0.9rem;
        }

        .navbar-logo {
          height: 32px;
        }

        .header h1 {
          font-size: 1.6rem;
        }

        .left-panel,
        .right-panel {
          padding: 20px;
        }

        .footer {
          padding: 20px 15px 15px;
        }

        .footer-links {
          gap: 15px;
        }

        .footer-links a {
          font-size: 0.85rem;
        }
      }
    
