/* #字体面板 {
    flex-direction: column;
    width: 50%;
    padding: 10px;
    gap: 8px;
    border-radius: 20px;
    z-index: 600;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 80vh;
}
#字体面板 h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1c1c1e;
    margin-bottom: 6px;
} */
.字体上传区 {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 2px;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
}
.字体上传区 input[type="file"] {
    flex: 1;
    height: 40px;
}
.单选组容器 {
    display: inline-flex;
    align-items: center;
    background-color: #f1f3f5;
    border-radius: 8px;
    padding: 3px;
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
}
.单选选项标签 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease-in-out;
    margin: 0 !important;
}
.单选选项标签 input[type="radio"] {
    display: none !important;
}
.单选选项标签:has(input[type="radio"]:checked) {
    background-color: #ffffff;
    color: #1890ff;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}
.单选选项标签.已禁用 {
    opacity: 0.5;
    cursor: not-allowed;
}
/* ========== 导出设置弹窗 ========== */
/* 遮罩层 */
.导出弹窗-遮罩 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: 导出弹窗淡入 0.2s ease;
}
@keyframes 导出弹窗淡入 {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* 面板主体 */
.导出弹窗-面板 {
    background: rgba(245, 245, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 620px;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: 导出弹窗弹入 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes 导出弹窗弹入 {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
/* 标题栏 */
.导出弹窗-标题栏 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(60, 60, 67, 0.08);
}
.导出弹窗-标题 {
    font-size: 17px;
    font-weight: 600;
    color: #1c1c1e;
}
.导出弹窗-关闭按钮 {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(120, 120, 128, 0.12);
    border-radius: 50%;
    font-size: 14px;
    color: #3a3a3c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.导出弹窗-关闭按钮:hover {
    background: rgba(120, 120, 128, 0.24);
}
/* 表格容器 */
.导出弹窗-表格容器 {
    flex: 1;
    overflow-y: auto;
    padding: 8px 16px 4px;
    min-height: 220px;
    max-height: 420px;
}
.导出弹窗-表格容器::-webkit-scrollbar {
    width: 4px;
}
.导出弹窗-表格容器::-webkit-scrollbar-thumb {
    background: rgba(120, 120, 128, 0.3);
    border-radius: 2px;
}
/* 表格 */
.导出弹窗-表格 {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.导出弹窗-th {
    text-align: left;
    padding: 6px 8px 4px;
    font-weight: 600;
    color: #636366;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(60, 60, 67, 0.1);
    position: sticky;
    top: 0;
    background: rgba(245, 245, 247, 0.98);
    z-index: 1;
}
.导出弹窗-项目列 { width: 34%; }
.导出弹窗-字体列 { width: 46%; }
.导出弹窗-字号列 { width: 20%; }
/* 表格行 */
.导出弹窗-tr {
    border-bottom: 1px solid rgba(60, 60, 67, 0.05);
    transition: background 0.1s;
}
.导出弹窗-tr:hover {
    background: rgba(0, 122, 255, 0.04);
}
.导出弹窗-td {
    padding: 6px 8px;
    vertical-align: middle;
    color: #1c1c1e;
}
.导出弹窗-项目名 {
    font-size: 12px;
    font-weight: 450;
    color: #3a3a3c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 字体下拉框 */
.导出弹窗-字体选择 {
    width: 100%;
    padding: 4px 8px;
    height: 30px;
    border: 1px solid rgba(60, 60, 67, 0.15);
    border-radius: 8px;
    background: white;
    font-size: 12px;
    color: #1c1c1e;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: auto;
    -webkit-appearance: auto;
}
.导出弹窗-字体选择:hover {
    border-color: rgba(0, 122, 255, 0.4);
}
.导出弹窗-字体选择:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}
/* 字号下拉框 */
.导出弹窗-字号选择 {
    width: 72px;
    padding: 4px 4px;
    height: 30px;
    border: 1px solid rgba(60, 60, 67, 0.15);
    border-radius: 8px;
    background: white;
    font-size: 12px;
    color: #1c1c1e;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: auto;
    -webkit-appearance: auto;
    text-align: center;
}
.导出弹窗-字号选择:hover {
    border-color: rgba(0, 122, 255, 0.4);
}
.导出弹窗-字号选择:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}
/* 按钮区 */
.导出弹窗-按钮区 {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 12px 20px 16px;
    border-top: 1px solid rgba(60, 60, 67, 0.08);
}
.导出弹窗-按钮 {
    padding: 8px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}
.导出弹窗-取消按钮 {
    background: rgba(120, 120, 128, 0.1);
    color: #3a3a3c;
}
.导出弹窗-取消按钮:hover {
    background: rgba(120, 120, 128, 0.2);
}
.导出弹窗-确认按钮 {
    background: #007aff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}
.导出弹窗-确认按钮:hover {
    background: #0066d6;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}
.导出弹窗-确认按钮:active {
    transform: scale(0.97);
}
/* ========== 手机竖屏适配 ========== */
@media (orientation: portrait) and (max-width: 767px) {
    .导出弹窗-面板 {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        max-height: 82vh;
        border-radius: 20px 20px 0 0;
        animation: 导出弹窗上滑 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }
    @keyframes 导出弹窗上滑 {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    .导出弹窗-表格容器 {
        max-height: 55vh;
    }
    .导出弹窗-预览区 {
        margin: 4px 12px 8px;
    }
    .导出弹窗-按钮区 {
        padding: 10px 16px 20px;
    }
}