/* ============================================================
           单位换算专用样式（复用口算页面风格）
           ============================================================ */
        /* 题型选择复选框区域 */
        .topic-checkbox-group {
            display: flex;
            flex-wrap: wrap;
            gap: 12px 20px;
            margin: 15px 0 10px;
            padding: 16px 20px;
            background: #f8faff;
            border-radius: 12px;
            border: 1px solid #e8edf5;
        }
        .topic-checkbox-group label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 15px;
            cursor: pointer;
            user-select: none;
            color: #333;
        }
        .topic-checkbox-group label:hover {
            color: #f5a623;
        }
        .topic-checkbox-group input[type="checkbox"] {
            width: 17px;
            height: 17px;
            accent-color: #f5a623;
            cursor: pointer;
            flex-shrink: 0;
        }
        .topic-checkbox-group .hint {
            width: 100%;
            font-size: 13px;
            color: #999;
            margin-top: 2px;
        }
        .topic-checkbox-group .tag {
            display: inline-block;
            font-size: 11px;
            background: #eef3fa;
            color: #666;
            padding: 1px 10px;
            border-radius: 20px;
            margin-left: 4px;
        }

        /* 配置行扩展 */
        .config-row .form-group .custom-select-btn {
            min-width: 130px;
        }
        .config-row .form-group input[type="number"] {
            width: 72px;
            padding: 8px 10px;
            border-radius: 8px;
            border: 1px solid #dce3ed;
            font-size: 15px;
            text-align: center;
            background: #fff;
            outline: none;
            transition: 0.2s;
        }
        .config-row .form-group input[type="number"]:focus {
            border-color: #f5a623;
            box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
        }

        /* 题目显示 */
        .question-display {
            font-size: 32px;
            font-weight: 700;
            color: #2c3e50;
            text-align: center;
            padding: 30px 20px;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.05);
            border: 2px dashed #e8ecf1;
            margin: 10px 0 16px;
            letter-spacing: 1px;
            min-height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            word-break: break-all;
        }
        .question-display .highlight-unit {
            color: #f5a623;
            font-weight: 800;
        }

        /* 反馈区 */
        .feedback-text {
            min-height: 44px;
            font-size: 18px;
            font-weight: 600;
            text-align: center;
            padding: 10px 0;
            margin: 6px 0 10px;
            border-radius: 10px;
        }
        .feedback-text.correct {
            color: #27ae60;
            background: #eafaf1;
        }
        .feedback-text.wrong {
            color: #e74c3c;
            background: #fdedec;
        }
        .feedback-text.empty {
            color: #aaa;
            background: transparent;
            font-weight: 400;
        }

        /* 输入区微调 */
        .input-area {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
            margin: 8px 0 6px;
        }
        .input-area input[type="text"] {
            width: 200px;
            padding: 12px 18px;
            font-size: 22px;
            text-align: center;
            border-radius: 12px;
            border: 2px solid #dce3ed;
            outline: none;
            transition: 0.2s;
            font-weight: 600;
            background: #fff;
        }
        .input-area input[type="text"]:focus {
            border-color: #f5a623;
            box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.12);
        }
        .input-area input[type="text"]:disabled {
            background: #f5f7fa;
            color: #999;
        }
        .input-area .btn {
            padding: 12px 32px;
            font-size: 18px;
            border-radius: 30px;
            box-shadow: 0 4px 0 rgba(0,0,0,0.08);
        }
        .input-area .btn:disabled {
            opacity: 0.5;
            transform: translateY(0);
            box-shadow: 0 4px 0 rgba(0,0,0,0.08);
            cursor: not-allowed;
        }

        /* 结果卡片中的错题列表 */
        .wrong-list table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
            margin-top: 10px;
        }
        .wrong-list table th {
            background: #f8faff;
            padding: 8px 12px;
            text-align: left;
            border-bottom: 2px solid #e8edf5;
        }
        .wrong-list table td {
            padding: 8px 12px;
            border-bottom: 1px solid #f0f3f8;
        }
        .wrong-list table tr:last-child td {
            border-bottom: none;
        }
        .wrong-list .wrong-answer {
            color: #e74c3c;
            font-weight: 600;
        }
        .wrong-list .right-answer {
            color: #27ae60;
            font-weight: 600;
        }

        /* 报告统计卡片 */
        .result-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 14px;
            margin: 16px 0;
            padding: 16px 20px;
            background: #f8faff;
            border-radius: 14px;
            border: 1px solid #e8edf5;
        }
        .result-stats-grid .stat-item {
            text-align: center;
        }
        .result-stats-grid .stat-number {
            font-size: 28px;
            font-weight: 800;
            color: #2c3e50;
            line-height: 1.3;
        }
        .result-stats-grid .stat-label {
            font-size: 13px;
            color: #888;
        }

        /* 响应式 */
        @media (max-width: 600px) {
            .question-display {
                font-size: 24px;
                padding: 20px 16px;
                min-height: 80px;
            }
            .input-area input[type="text"] {
                width: 150px;
                font-size: 18px;
                padding: 10px 14px;
            }
            .input-area .btn {
                padding: 10px 22px;
                font-size: 16px;
            }
            .topic-checkbox-group {
                gap: 8px 14px;
                padding: 12px 16px;
            }
            .topic-checkbox-group label {
                font-size: 14px;
            }
            .config-row .form-group .custom-select-btn {
                min-width: 100px;
                font-size: 13px;
                padding: 7px 12px;
            }
            .result-stats-grid .stat-number {
                font-size: 22px;
            }
            .wrong-list table {
                font-size: 12px;
            }
            .wrong-list table th,
            .wrong-list table td {
                padding: 6px 8px;
            }
        }
        @media (max-width: 400px) {
            .question-display {
                font-size: 20px;
                padding: 16px 12px;
                min-height: 70px;
            }
            .input-area input[type="text"] {
                width: 120px;
                font-size: 16px;
            }
        }