/* ============ 长晶报告制作页专属样式 ============ */
        /* ============ 长晶早报制作：长速符合率图表区域 ============ */
        .chart-title {
            font-size: 16px;
            color: #000;
            text-align: center;
            margin-bottom: 12px;
        }
        .chart-box { border: 1.5px solid #d5d8dc; border-radius: 6px; padding: 10px 14px; }
        .chart-wrap { width: 100%; height: auto; }
        .chart-wrap svg { width: 100%; height: auto; }
        /* 早报三张图表整体宽度（居中压缩，避免全宽过大） */
        .report-charts { width: 100%; max-width: none; }
        /* 每个图表 + 其右侧自定义控件为一个横向行；图表按屏幕居中，控件吸在图表右侧 */
        .report-chart-row { position: relative; transform: scale(0.9); transform-origin: top center; }
        .report-chart-row + .report-chart-row { margin-top: 22px; }
        .report-chart-row .chart-box {
            width: 900px;
            max-width: 100%;
            margin: 0 auto; /* 图表按屏幕居中 */
            box-sizing: border-box;
        }
        .report-chart-controls {
            position: absolute;
            top: 50%;
            left: calc(50% + 450px + 16px); /* 吸在居中图表右侧 */
            transform: translateY(-50%);
        }
        /* 窗口较窄时，控制面板改为跟随图表下方，避免与图表重叠 */
        @media (max-width: 1200px) {
            .report-chart-row { display: flex; flex-direction: column; align-items: center; }
            .report-chart-row .chart-box { width: 100%; }
            .report-chart-controls {
                position: static;
                transform: none;
                margin-top: 12px;
                align-self: center;
            }
        }
        /* 筛选条件区域 */
        .report-filter {
            margin-bottom: 20px;
            padding-bottom: 14px;
            border-bottom: 1px dashed #e5e8ec;
        }
        .report-filter-title {
            font-size: 14px; /* 与统计日期、生长目的、实验目的等早报控件统一字号 */
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 0; /* 融入横排后不再保留纵向间距 */
            align-self: center;
        }
        /* "筛选条件"、"生长目的"、"实验目的"、"导出早报 PPT"排成一行并整体居中 */
        .report-filter-row {
            display: flex;
            flex-wrap: wrap;
            gap: 16px 32px;
            align-items: center;
            justify-content: center; /* 整体居中 */
        }
        .report-filter-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .report-filter-label {
            font-size: 14px; /* 统一字号：统计日期、生长目的、实验目的 与早报/周报、导出按钮一致 */
            font-weight: bold;
            color: #2c3e50;
            white-space: nowrap;
        }
        /* 筛选下拉框：触发框与面板宽度自适应文本，避免换行 */
        .report-filter-item .multi-select { min-width: 220px; max-width: 320px; }
        .report-filter-item .multi-select-panel { min-width: 100%; width: max-content; max-width: 320px; }
        .report-filter-item .multi-select-options { white-space: nowrap; }
        .report-filter-item .multi-select-option span { white-space: nowrap; }
        /* ============ 长晶早报制作：最新晶体明细表格 ============ */
        /* 统计日期 + 导出按钮横向排布（位于数据表上方，整体居中） */
        .report-date-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 12px 20px;
            margin-top: 14px;
            padding-bottom: 12px;
            border-bottom: 1px dashed #e5e8ec;
        }
        .report-date-input {
            width: 150px;
            padding: 7px 10px;
            font-size: 15px;
            border: 1px solid #c3cbd6;
            border-radius: 6px;
            outline: none;
            box-sizing: border-box;
            background: #fff;
        }
        .report-date-input:focus {
            outline: 2px solid rgba(52, 152, 219, 0.35);
        }
        /* 报告类型（早报/周报）单选组 */
        .report-type-group {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border: 1px solid #c3cbd6;
            border-radius: 6px;
            background: #fff;
        }
        .report-type-option {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 14px;
            color: #2c3e50;
            cursor: pointer;
            white-space: nowrap;
            padding: 4px 8px;
            border-radius: 4px;
            transition: background-color 0.15s;
            user-select: none;
        }
        .report-type-option:hover {
            background-color: #ecf0f1;
        }
        .report-type-option input {
            margin: 0;
            cursor: pointer;
            accent-color: #3498db;
        }
        .report-date-row .report-export-btn {
            width: auto;
            min-width: 96px;
            margin-top: 0;
            align-self: center;
        }
        .report-table-row {
            /* 让表格始终保持居中，展示数量定位在表格右侧，不挤压表格 */
            position: relative;
            width: max-content;
            max-width: 100%;
            margin: 14px auto 0;
            /* 网页仅缩小视觉显示为 90%（transform 不参与文档流布局、不影响 SVG 内在尺寸，故导出图片/PPT 参数不变） */
            transform: scale(0.9);
            transform-origin: top center;
        }
        /* 表格右侧的展示数量：绝对定位，跟随表格右边界，不影响表格居中；
           风格与下方图表的配置项(.report-chart-control)一致：左侧加粗标签 + 右侧输入，内嵌组成 */
        .report-table-count {
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            margin-left: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            border: 1px solid #c3cbd6;
            border-radius: 6px;
            overflow: hidden;
            background: #f8fafc; /* 与图表的配置项容器底色一致 */
            padding: 5px 10px;
            z-index: 2;
        }
        .report-table-count-label {
            font-size: 12px;
            color: #2c3e50;
            white-space: nowrap;
            font-weight: bold; /* 与 .report-chart-control label 一致 */
        }
        .report-table-count-input {
            display: flex;
            align-items: center;
            gap: 2px;
        }
        .report-table-count-suffix {
            font-size: 12px;
            color: #2c3e50;
            white-space: nowrap;
        }
        .report-table-count input {
            width: 46px;
            padding: 4px 4px;
            border: 1px solid #c3cbd6;
            border-radius: 5px;
            outline: none;
            font-size: 12px;
            text-align: center;
            box-sizing: border-box;
            background: #fff;
        }
        /* 「展示 N 颗」输入框聚焦时突出显示（与图表侧自定义输入框一致的浅蓝色焦点圈） */
        .report-table-count input:focus,
        .report-table-count input:focus-visible {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
        }
        /* ============ 长晶早报制作：图表右侧自定义坐标/限值控件 ============ */
        .report-chart-controls {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 12px 14px;
            border: 1px solid #e0e4e8;
            border-radius: 6px;
            background: #f8fafc;
            box-sizing: border-box;
        }
        .report-chart-control {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            font-size: 12px; /* 调小字号 */
            color: #2c3e50;
            white-space: nowrap;
        }
        .report-chart-control label { font-weight: bold; }
        .report-chart-control input {
            width: 62px;
            padding: 4px 6px;
            font-size: 12px; /* 输入框字号也调小 */
            border: 1px solid #c3cbd6;
            border-radius: 5px;
            outline: none;
            box-sizing: border-box;
            text-align: center;
            background: #fff;
        }
        .report-chart-control input:focus {
            outline: 2px solid rgba(52, 152, 219, 0.35);
        }
        .report-table-wrap {
            /* 宽度随表格列宽总和自适应；超出时可横向滚动 */
            width: max-content;
            max-width: 100%;
            overflow: auto;
            border: 1px solid #ddd;
            border-radius: 6px;
        }
        .report-table-wrap table {
            border-collapse: collapse;
            font-size: 9px; /* 整体字号略缩小 */
            table-layout: fixed; /* 固定布局：各列严格按 colgroup 设定的列宽渲染，长内容自动换行 */
        }
        .report-table-wrap th, .report-table-wrap td {
            border: 1px solid #ddd;
            padding: 5px 8px;
            text-align: center;
            overflow-wrap: break-word; /* 超出允许换行 */
            word-break: break-word;
        }
        /* 除标题栏外的数据单元格字号 +1px（标题栏沿用 table 的 9px） */
        .report-table-wrap td { font-size: 10px; }
        /* 长速列加粗 */
        .report-table-wrap td.bold { font-weight: bold; }
        /* 等级列按等级着色 */
        .report-table-wrap td.grade-P { color: #1e8e3e; font-weight: bold; } /* P 绿色 */
        .report-table-wrap td.grade-D { color: #b8860b; font-weight: bold; } /* D 黄色 */
        .report-table-wrap td.grade-NG { color: #d93025; font-weight: bold; } /* NG 红色 */
        .report-table-wrap th {
            background-color: #2e74b5; /* 深蓝色标题行 */
            color: #fff;
            position: sticky;
            top: 0;
            z-index: 1;
        }
        .report-table-wrap tbody tr:nth-child(odd) { background-color: #ffffff; }
        .report-table-wrap tbody tr:nth-child(even) { background-color: #e8f1fa; } /* 蓝白间隔 */
        .report-table-wrap td.left { text-align: left; }
        /* 图表右键导出菜单 */
        /* 导出 PPT 按钮 */
        .report-export-btn {
            width: 100%;
            margin-top: 4px;
            padding: 9px 16px;
            font-size: 14px;
            font-weight: bold;
            color: #fff;
            background: linear-gradient(135deg, #27ae60, #1e8e3e);
            border: none;
            border-radius: 6px;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(39,174,96,0.35);
            transition: transform .12s ease, box-shadow .12s ease, opacity .2s;
        }
        .report-export-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(39,174,96,0.45); }
        .report-export-btn:active { transform: translateY(0); }
        .report-export-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
