.main-flex { display: flex; justify-content: space-between; align-items: flex-start; }
.left-main {
    width: calc(100% - 335px);
    max-width: 845px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.right-side { width: 320px; flex-shrink: 0; }
.card { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #eef0f2; }

h1 { text-align: center; font-size: 24px; color: #222; margin: 10px 0 20px; }
.meta-info { display: flex; flex-wrap: wrap; gap: 15px; color: #666; justify-content: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.official-tag { color: #52c41a; margin-right: 6px; }
.auth-text { color: #004094; }

.intro-toggle { text-align: center; margin: 10px 0; }
.toggle-btn { color: #004094; cursor: pointer; font-weight: bold; font-size: 15px; }
.toggle-btn:hover { color: #ff9800; }
.detail-intro { display: none; padding: 20px; background: #f9f9f9; border-radius: 8px; margin-top: 15px; border: 1px solid #eee; overflow: hidden; }
.intro-inner { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.intro-img { border: 1px solid #eee; padding: 2px; background: #fff; max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.intro-close { text-align: center; margin-top: 25px; }

.intro-content { flex: 1; text-align: left; line-height: 2; color: #333; font-size: 15px; }
.intro-content p { margin-top: 0; margin-bottom: 1.2em; }

.sys-match-bar { background: #fff7e6; border: 1px solid #ffbb96; padding: 12px 20px; border-radius: 6px; margin-bottom: 15px; display: none; align-items: center; justify-content: space-between; font-size: 15px; }
.match-text { color: #873800; font-weight: bold; }
.match-ctrl-link { color: #004094; font-weight: bold; cursor: pointer; text-decoration: underline; }
.hide-count { color: #ff3000; font-size: 16px; }

.copyright-notice.notice-top {
    display: block !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 5px 0 20px 0 !important;
    padding: 16px 20px !important;
    background: #fff7e6 !important;
    border: 1px solid #ffe58f !important;
    border-radius: 8px !important;
    color: #873800 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    word-wrap: break-word !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}

.copyright-notice.notice-top b {
    color: #e65100 !important;
    font-weight: bold !important;
}

.tab-nav { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #f0f0f0; margin-bottom: 20px; }
.tab-items { display: flex; gap: 30px; }
.tab-btn { padding: 12px 0; cursor: pointer; color: #888; font-weight: bold; position: relative; bottom: -2px; border-bottom: 3px solid transparent; }
.tab-btn.active { color: #004094; border-bottom-color: #004094; }
.err-report-btn { color: #ff4d4f; font-weight: bold; font-size: 13px; border: 1px solid #ffccc7; background: #fff2f0; padding: 5px 15px; border-radius: 4px; }
.err-report-btn:hover { background: #ff4d4f; color: #fff; }

.pane-course { display: none; padding: 10px 20px; line-height: 2.2; background: #fdfdfd; }
.warm-tip { background: #f6ffed; border: 1px solid #b7eb8f; padding: 8px 12px; border-radius: 4px; font-size: 12px; color: #52c41a; margin-bottom: 10px; }
.speed-tip { background: #e6f7ff; border: 1px solid #91d5ff; padding: 12px 15px; border-radius: 8px; margin-bottom: 20px; font-size: 13px; color: #0050b3; }

.dl-section { margin-bottom: 30px; }
.dl-card { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: #fff; border-radius: 6px; margin-bottom: 15px; border: 1px solid #eee; transition: 0.2s; }
.dl-card.gray { background: #fafafa; }
.dl-card:hover { background: #f0f7ff; }
.dl-info h5 { margin: 0 0 5px; font-size: 15px; color: #004094; font-weight: 600; }
.dl-info p { margin: 0 0 18px 0; color: #666; }
.dl-row { margin-bottom: 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dl-row:last-child { margin-bottom: 0; }

.dl-section-title { font-size: 16px; font-weight: bold; margin: 20px 0 10px; padding-left: 10px; color: #333; border-left: 4px solid; }
.dl-section-title-official { border-left-color: #52c41a; }
.dl-section-title-base { border-left-color: #1a73e8; }
.dl-section-title-scan { border-left-color: #9c27b0; }
.section-sub { font-size: 12px; font-weight: normal; color: #999; margin-left: 8px; }

.dl-tip, .dl-tip-official, .dl-tip-text { background: #f8f8f8; color: #666; padding: 10px 15px; margin-top: 10px; border-radius: 4px; font-size: 13px; line-height: 1.6; border: 1px solid #e8e8e8; }
.dl-site-tip { background: #f5f5f5; color: #666; font-size: 13px; padding: 6px 12px; margin: 4px 0 10px 0; border-radius: 4px; font-weight: normal; width: 100%; }

.dl-btn { 
    display: inline-block; 
    padding: 8px 16px; 
    border-radius: 4px; 
    font-size: 14px; 
    font-weight: normal; 
    text-align: center; 
    text-decoration: none; 
    transition: all 0.2s ease; 
    border: 1px solid transparent; 
    cursor: pointer; 
    min-width: 88px; 
    margin-right: 10px; 
    margin-bottom: 8px; 
}
.dl-btn:last-child { margin-right: 0; }

.dl-btn.official, .dl-btn[style*="#52c41a"] { background-color: #E8F5E9; color: #2E7D32 !important; border-color: #C8E6C9; }
.dl-btn.official:hover, .dl-btn[style*="#52c41a"]:hover { background-color: #2E7D32; color: #ffffff !important; box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2); }
.dl-btn.primary, .dl-btn[style*="#1a73e8"] { background-color: #E3F2FD; color: #004094 !important; border-color: #BBDEFB; }
.dl-btn.primary:hover, .dl-btn[style*="#1a73e8"]:hover { background-color: #004094; color: #ffffff !important; box-shadow: 0 2px 8px rgba(0, 64, 148, 0.2); }
.dl-btn.backup, .dl-btn[style*="#999"] { background-color: #ECEFF1; color: #455A64 !important; border-color: #CFD8DC; }
.dl-btn.backup:hover, .dl-btn[style*="#999"]:hover { background-color: #455A64; color: #ffffff !important; }
.dl-btn.thunder { background: #FCE4EC; color: #C2185B !important; border: 1px solid #F8BBD0; }
.dl-btn.thunder:hover { background: #F8BBD0; color: #C2185B !important; }

.dl-wrap-row { display: flex; gap: 20px; align-items: flex-start; margin-top: 10px; }
.dl-left-col { flex: 0 0 62%; }
.dl-right-col { flex: 1; min-height: 220px; background: #fafafa; border: 1px dashed #ccc; border-radius: 8px; padding: 10px; }

.scan-notice { background: #f0f7ff; border: 1px solid #004094; padding: 15px; border-radius: 6px; margin-bottom: 20px; display: flex; align-items: flex-start; }
.scan-notice .icon { font-size: 24px; margin-right: 12px; }
.scan-notice .text { font-size: 14px; color: #004094; line-height: 1.6; }
.scan-notice b { text-decoration: underline; }

.software-list { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 15px; margin-top: 20px; }
.software-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed #eee; }
.software-item:last-child { border-bottom: none; }
.tag-twain { background: #28a745; color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 3px; }
.reset-badge { background: #28a745; color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 14px; display: inline-block; margin-bottom: 15px; font-weight: normal; }

.card-header-center { text-align: center; padding: 20px 0; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.card-header-center h1 { font-size: 26px; margin: 10px 0; color: #333; }

.scan-step { display: flex; margin-top: 20px; gap: 10px; }
.step-item { flex: 1; background: #f8f9fa; padding: 10px; border-radius: 4px; text-align: center; font-size: 12px; color: #666; }
.step-item b { display: block; color: #004094; font-size: 14px; margin-bottom: 5px; }
.store-btn { border: 1px solid #004094; color: #004094 !important; padding: 4px 12px; border-radius: 20px; font-size: 13px; transition: all 0.3s; }
.store-btn:hover { background: #004094; color: #fff !important; }

.doc-header { text-align: center; padding: 30px 0; background: #fff; border-radius: 8px 8px 0 0; }
.doc-type-tag { background: #6c757d; color: #fff; padding: 3px 12px; border-radius: 20px; font-size: 13px; display: inline-block; margin-bottom: 15px; }
.doc-title { font-size: 28px; color: #333; line-height: 1.4; margin-bottom: 15px; padding: 0 20px; }
.file-info-grid { display: flex; justify-content: center; gap: 30px; color: #666; font-size: 14px; border-top: 1px solid #f0f0f0; padding-top: 15px; margin: 0 40px; }
.file-info-grid b { color: #333; }
.preview-area { background: #fafafa; border: 1px solid #eee; padding: 20px; border-radius: 8px; min-height: 200px; }
.preview-title { font-weight: bold; margin-bottom: 15px; display: flex; align-items: center; }
.preview-title::before { content: "📄"; margin-right: 8px; }

.download-list a { display: flex; align-items: center; justify-content: center; background: #4a5568; color: #fff !important; padding: 18px; border-radius: 8px; font-size: 18px; font-weight: bold; text-decoration: none; transition: all 0.3s; border: none; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.download-list a::before { content: "⬇️"; margin-right: 10px; }
.download-list a:hover { background: #004094; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 64, 148, 0.2); }

.side-card-title { font-size: 18px; font-weight: bold; border-bottom: 1px solid #eee; padding-bottom: 15px; margin: 0 0 15px 0; }
.card-title-sm { font-size: 18px; border-left: 4px solid #fc7b54; }

.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-list li { padding: 12px 0; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; }
.rank-list li em { flex-shrink: 0; width: 22px; height: 20px; line-height: 20px; background: #e2e8f0; color: #4a5568; text-align: center; font-size: 11px; margin-right: 8px; font-style: normal; border-radius: 3px; font-weight: bold; }
.rank-list li:nth-child(1) em { background: #ff4400; color: #fff; }
.rank-list li:nth-child(2) em { background: #ff9800; color: #fff; }
.rank-list li:nth-child(3) em { background: #ffc107; color: #fff; }
.rank-list li a { flex: 1; color: #333; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.rank-list li a:hover { color: #004094; }

#soft_right_bottom { background: #fff; border-radius: 8px; padding: 20px 5px 20px 0px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #eef0f2; text-align: center; }
.tool-card { background: #f0f7ff; border: 1px solid #cce5ff; }
.tool-btn { display: block; background: #004094; color: #fff; text-align: center; padding: 10px; border-radius: 6px; font-weight: bold; }
.tool-btn:hover { background: #002d66; }

#soft_faq { max-width: 100%; margin: 0 auto; font-family: "Microsoft YaHei", sans-serif; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; overflow: hidden; }
.faq-header { padding: 12px 16px; background-color: #f9fafb; border-bottom: 1px solid #e5e7eb; }
.faq-title { font-size: 15px; font-weight: 600; color: #1f2937; display: flex; align-items: center; gap: 8px; }
.faq-title::before { content: "❓"; font-size: 16px; }
.faq-list { padding: 0; margin: 0; list-style: none; }
.faq-item { border-bottom: 1px solid #f3f4f6; }
.faq-item:last-child { border-bottom: none; }
.faq-question { padding: 14px 16px; cursor: pointer; display: flex; align-items: center; gap: 10px; background: #fff; transition: background 0.2s; }
.faq-question:hover { background-color: #f9fafb; }
.q-icon { font-weight: bold; color: #2563eb; font-size: 16px; min-width: 20px; }
.q-text { flex: 1; font-size: 14px; color: #1f2937; font-weight: 500; }
.arrow { font-size: 12px; color: #6b7280; transition: transform 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background-color: #f9fafb; }
.a-content { padding: 12px 16px 16px 46px; font-size: 13px; color: #4b5563; line-height: 1.6; }
.a-content p { margin: 0 0 8px 0; }
.a-content ul { margin: 0; padding-left: 20px; }
.a-content li { margin-bottom: 6px; }
.a-content strong { color: #1f2937; }
.a-content span { color: #d93025; font-weight: bold; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-item.active .arrow { transform: rotate(180deg); }
.faq-item.active .faq-question { background-color: #eff6ff; border-left: 3px solid #2563eb; }

.error-popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999; }
.popup-container { max-width: 700px; background: #fff; margin: 80px auto; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
.popup-header { background: #004094; color: #fff; padding: 15px 20px; font-size: 18px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
.popup-close { color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.popup-body { padding: 25px; }
.form-item { margin-bottom: 18px; }
.form-item label { display: block; margin-bottom: 6px; font-weight: bold; color: #333; }
.form-item input, .form-item textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; font-family: inherit; }
.form-item textarea { min-height: 120px; resize: vertical; }
.submit-btn { background: #004094; color: #fff; border: none; padding: 10px 25px; border-radius: 4px; font-weight: bold; cursor: pointer; }
.submit-btn:hover { background: #003375; }

.msg-success { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #004094; color: #fff; padding: 14px 25px; border-radius: 6px; z-index: 10000; display: none; }

@media (max-width: 768px) {
    .main-flex { flex-direction: column; }
    .left-main { width: 100%; max-width: 100%; }
    .right-side { width: 100%; margin-top: 15px; }
    
    .intro-inner { flex-direction: column; align-items: center; }
    .intro-img { margin-bottom: 10px; }
    
    .dl-wrap-row { flex-direction: column; }
    .dl-left-col, .dl-right-col { width: 100%; flex: none; }
    .dl-right-col { min-height: 160px; }
    
    .file-info-grid { flex-direction: column; gap: 5px; margin: 0 20px; }
    .doc-title { font-size: 20px; }
    
    .copyright-notice.notice-top { padding: 15px; }
}