
.nrz {
    /* 深蓝色主题色系 */
    --primary: #1565c0;        /* 深钴蓝 */
    --primary-light: #42a5f5;   /* 冰蓝色 */
    --primary-dark: #0d47a1;    /* 海军蓝 */

    /* 辅助色（沿用原变量名以兼容现有样式）*/
    --accent-gold: #ffb300;       /* 琥珀色点缀 */
    --accent-terracotta: #1a7f87; /* 深海蓝绿 */
    --accent-cream: #90caf9;      /* 淡天蓝 */

    /* 背景与中性色 */
    --bg-light:  #ffffff;        /* 白色背景 */
    --card-bg: #ffffff;          /* 卡片背景 */
    --border: #bbdefb;           /* 边框/分隔线 */

    /* 文字色 */
    --text-dark: #222;          /* 标题文字 */
    --text-medium: #333;        /* 正文文字 */
    --text-light: #666;         /* 次要文字 */
    --text-red: #0d47a1;        /* 深蓝色用于高亮元素（变量名保留）*/

    /* 圆角尺寸 */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* 阴影效果（使用蓝色系透明度）*/
    --shadow-sm: 0 2px 5px rgba(21, 101, 192, 0.08);
    --shadow-md: 0 4px 10px rgba(21, 101, 192, 0.12);
}

.nrz * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.nrz {
    background-color: var(--bg-light);
    color: var(--text-medium);
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.65;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.nrz .cover-body {
    margin: 0;
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.nrz .cover-container {
    width: 100%;
    aspect-ratio: 210 / 297; /* A4纸长宽比 */
    min-height: 100vh;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    background: white;
    position: relative;
    overflow: hidden;
}

.nrz .cover_top-section {
    background-color: var(--primary-dark); /* 深蓝色 */
    height: 40%; /* 2/5 of the total height for a 2:3 ratio */
    color: white;
    position: relative;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.nrz .cover_top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    z-index: -1;
}

.nrz .cover_report-info {
    text-align: left;
}

.nrz .cover_title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem; /* 增大标题字体 */
    font-weight: bold;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nrz .cover_subtitle {
    font-size: 1.8rem;
    margin: 5px 0 0 0;
    font-weight: 300;
    opacity: 0.92;
}

.nrz .cover_company-info {
    margin: 100px 0px 0px 0px;
    text-align: left;
}

.nrz .cover_company-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem; /* 增大公司名称字体 */
    font-weight: 700;
    margin: 20px 0 5px 0;
    line-height: 1;
    color: white;
}

.nrz .cover_tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 300;
}

.nrz .cover_bottom-section {
    height: 60%; /* 3/5 of the total height for a 2:3 ratio */
    position: relative;
    background-size: cover;
    background-position: center;
}

.nrz .cover_year {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: bold;
    position: absolute;
    right: -25px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    z-index: 10;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nrz .cover_logo-container {
    position: absolute;
    left: 40px;
    bottom: 40px;
    display: flex;
    align-items: center;
    color: white;
    z-index: 20;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.5), rgba(66, 165, 245, 0.5));
    padding: 15px 25px;
    border-radius: 4px;
}

.nrz .cover_logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    margin-right: 10px;
}

.nrz .cover_company-name-small {
    font-size: 1.1rem;
    opacity: 0.92;
}

/* 装饰元素 */
.nrz .cover_geometric-element {
    position: absolute;
    z-index: 0;
    opacity: 0.05;
}

.nrz .cover_triangle-1 {
    width: 200px;
    height: 200px;
    border-top: 100px solid #d4af37;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    top: -50px;
    right: -50px;
    transform: rotate(135deg);
}

.nrz .cover_triangle-2 {
    width: 150px;
    height: 150px;
    border-top: 75px solid var(--primary);
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    bottom: -38px;
    left: -38px;
    transform: rotate(45deg);
}
.nrz .main-container {
    width: 100%;
    max-width: 1100px;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* 头部横幅 */
.nrz .header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nrz .header h1 {
    font-size: 3rem;
    font-family: 'Noto Serif SC', serif;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.nrz .header h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.nrz .header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 25px auto 0;
    font-weight: 300;
    opacity: 0.92;
    letter-spacing: 0.3px;
}

/* 装饰元素 */
.nrz .floral-decor {
    position: absolute;
    opacity: 0.2;
    z-index: 0;
}

.nrz .floral-1 {
    top: 30px;
    right: 20px;
    font-size: 10rem;
    color: var(--accent-gold);
    transform: rotate(25deg);
}

.nrz .floral-2 {
    bottom: 40px;
    left: 25px;
    font-size: 7rem;
    color: var(--accent-gold);
    transform: rotate(-15deg);
}

/* 内容区 */
.nrz .content-section {
    padding: 40px 35px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.nrz .content-section:last-child {
    border-bottom: none;
}

.nrz .section-title {
    font-size: 22px;
    color: var(--text-red);
    margin-bottom: 35px;
    font-family: 'Noto Serif SC', serif;
    position: relative;
    padding-left: 20px;
    letter-spacing: -0.3px;
}

.nrz .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.nrz .subsection-title {
    font-size: 18px;
    color: var(--text-red);
    margin: 35px 0 20px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.nrz .subsection-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 1px;
}

.nrz .paragraph {
    font-size: 14px;
    margin-bottom: 25px;
    color: var(--text-medium);
    text-align: justify;
    line-height: 1.75;
}

/* 高亮部分使用蓝色 */
.nrz .highlight {
    background-color: #E7EBFB;
    font-weight: 600;
    color: #3457DC;
    padding: 3px 7px;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
}

.nrz .highlight:hover {
    background-color: rgba(21, 101, 192, 0.12);
}

/* 优化后的统计卡片 */
.nrz .stat-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.nrz .stat-item {
    background-color: rgba(21, 101, 192, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nrz .stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}

.nrz .stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.4rem;
    background-color: rgba(21, 101, 192, 0.1);
    color: var(--text-red);
}

.nrz .stat-title {
    font-size: 0.98rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 500;
}

.nrz .stat-value {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: 'Noto Serif SC', serif;
}

.nrz .stat-description {
    font-size: 0.87rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* 表格样式 */
.nrz .table-container {
    margin-top: 35px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.nrz .info-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.nrz .info-table th {
    background-color: var(--primary);
    color: white;
    text-align: left;
    padding: 14px 22px;
    font-weight: 600;
    font-size: 14px;
    position: sticky;
    top: 0;
}

.nrz .info-table td {
    padding: 14px 22px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-medium);
}

.nrz .info-table tr:nth-child(even) {
    background-color: rgba(227, 242, 253, 0.5);
}

.nrz .info-table tr:hover {
    background-color: rgba(21, 101, 192, 0.04);
}

.nrz .highlight-cell {
    background-color: rgba(21, 101, 192, 0.07);
    border-left: 2px solid var(--primary);
}

.nrz .important-cell {
    color: var(--text-red);
    font-weight: 600;
}

/* 标签系统 */
.nrz .tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0 30px;
}

.nrz .tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: rgba(21, 101, 192, 0.08);
    color: var(--text-red);
    border: 1px solid rgba(21, 101, 192, 0.15);
}

.nrz .tag:hover {
    background-color: rgba(21, 101, 192, 0.15);
}

/* 引用样式 */
.nrz .quote-box {
    background-color: rgba(227, 242, 253, 0.8);
    border-left: 3px solid var(--accent-gold);
    padding: 24px 28px;
    margin: 30px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-medium);
}

.nrz .quote-text {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.7;
}

.nrz .quote-author {
    font-weight: 600;
    color: var(--text-red);
}

/* 信息框 */
.nrz .info-box {
    background-color: rgba(227, 242, 253, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 35px 0;
    position: relative;
}

.nrz .info-box h3 {
    color: var(--text-red);
    font-size: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    font-family: 'Noto Serif SC', serif;
}

.nrz .info-box h3 i {
    margin-right: 12px;
    color: var(--text-red);
    font-size: 1.3em;
}

.nrz .info-box p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 12px;
}

.nrz .info-box ul {
    padding-left: 25px;
    margin-top: 15px;
    list-style-type: none;
}

.nrz .info-box li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    color: var(--text-medium);
}

.nrz .info-box li::before {
    content: '\f14a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-gold);
}

/* 火焰装饰 */
.nrz .flame-decor {
    position: absolute;
    opacity: 0.04;
    z-index: 0;
    color: var(--accent-gold);
}

.nrz .flame-1 {
    top: 30px;
    right: 20px;
    font-size: 10rem;
    transform: rotate(25deg);
}

.nrz .flame-2 {
    bottom: 40px;
    left: 25px;
    font-size: 7rem;
    transform: rotate(-15deg);
}

/* 配色面板 */
.nrz .color-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    z-index: 100;
    backdrop-filter: blur(5px);
    max-width: 300px;
}

.nrz .color-panel h3 {
    margin: 0 0 15px;
    color: var(--text-red);
    display: flex;
    align-items: center;
    font-size: 1.15rem;
}

.nrz .color-panel h3 i {
    margin-right: 10px;
}

.nrz .color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nrz .color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.nrz .color-sample {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    margin-bottom: 6px;
    border: 1px solid rgba(0,0,0,0.1);
}

.nrz .color-value {
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-medium);
}
/* 打印样式 - 重点优化 */
@media print {
    /* 页面设置 - 强制无边距 */
    @page {
        margin: 0;                     /* 设置页面边距为0，相当于打印设置中的"None" */
        size: A4;                      /* 设置纸张大小为A4 */
    }
    .nrz {
        --radius-sm: 0 !important;
        --radius-md: 0 !important;
        --radius-lg: 0 !important;
    }
    /* 基础页面设置 */
    .nrz {
        padding: 0;                    /* 移除页面内边距，确保打印时充分利用纸张空间 */
        margin: 0;                     /* 移除页面外边距 */
        font-size: 20pt;              /* 设置打印字体大小为20磅，确保可读性 */
        background: white;             /* 强制白色背景，避免打印时出现背景色 */
        -webkit-print-color-adjust: exact !important;  /* Webkit浏览器强制显示背景色和图片 */
        color-adjust: exact !important;                 /* 现代浏览器兼容，确保颜色正确打印 */
    }
    .nrz .main-container {
        padding: 0 !important;
        margin: 0 !important;
    }
    /* 容器布局优化 */
    .nrz .content-section {
        padding: 0;                    /* 移除容器内边距 */
        max-width: 100%;               /* 容器宽度占满页面，充分利用纸张 */
        margin: 0mm 0mm 0mm 0mm;       /* 左右各8mm边距 */
    }

    /* 标题字体大小设置 */
    .nrz h1 {
        font-size: 30pt !important;    /* 主标题30磅 */
    }

    .nrz h2 {
        font-size: 26pt !important;    /* 二级标题26磅 */
    }

    .nrz h3 {
        font-size: 24pt !important;    /* 三级标题24磅 */
    }

    .nrz p {
        font-size: 20pt !important;    /* 段落文字20磅 */
    }

    .nrz .section-title {
        font-size: 26pt !important;    /* 章节标题22磅 */
    }

    .nrz .subsection-title {
        font-size: 24pt !important;    /* 子章节标题24磅 */
    }
    .nrz .paragraph {
        font-size: 20pt !important;
    }
    .nrz .tag {
        font-size: 18pt !important;    /* 标签18磅 */
    }

    .nrz .stat-title {
        font-size: 18pt !important;    /* 统计标题18磅 */
    }

    .nrz .stat-value {
        font-size: 22pt !important;    /* 统计数值22磅 */
    }

    .nrz .stat-description {
        font-size: 16pt !important;    /* 统计描述16磅 */
    }
    /* 禁用表头重复显示 */
    .nrz .info-table thead {
        display: table-row-group !important;   /* 不重复显示表头 */
    }

    /* 禁用表尾重复显示 */
    .nrz .info-table tfoot {
        display: table-row-group !important;   /* 不重复显示表尾 */
    }

    /* stat-box打印布局优化 */
    .nrz .stat-box {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        gap: 24px !important; /* item之间空隙 */
        align-items: stretch !important; /* 让同一行的stat-item高度一致 */
    }
    /* 4个时，2行2列 */
    .nrz .stat-box:has(.stat-item:nth-child(4)):not(:has(.stat-item:nth-child(5))) .stat-item {
        flex: 0 0 calc(50% - 12px) !important; /* 2列，减去gap一半 */
        max-width: calc(50% - 12px) !important;
        align-self: stretch !important; /* 让同一行高度一致 */
    }
    /* 3个时，等分一行 */
    .nrz .stat-box:has(.stat-item:nth-child(3)):not(:has(.stat-item:nth-child(4))) .stat-item {
        flex: 0 0 calc(33.333% - 16px) !important;
        max-width: calc(33.333% - 16px) !important;
        align-self: stretch !important;
    }
    /* 2个时，等分一行，平铺 */
    .nrz .stat-box:has(.stat-item:nth-child(2)):not(:has(.stat-item:nth-child(3))) .stat-item {
        flex: 0 0 calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;
        align-self: stretch !important;
    }
    /* 1个时，居中显示 */
    .nrz .stat-box:has(.stat-item:nth-child(1)):not(:has(.stat-item:nth-child(2))) .stat-item {
        flex: 0 0 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        align-self: stretch !important;
    }

    .nrz .stat-item {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: auto !important;
        min-height: 120px !important; /* 设置最小高度 */
        box-sizing: border-box !important;
    }

    /* 强制覆盖所有stat-item样式 */
    .nrz .content-section .stat-box .stat-item {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        min-height: 120px !important;
        height: auto !important;
    }

    /* stat-item内部元素优化 - 增强选择器优先级 */
    .nrz .stat-box .stat-item .stat-icon {
        flex-shrink: 0 !important; /* 图标不收缩 */
        margin-bottom: 10px !important;
    }

    .nrz .stat-box .stat-item .stat-title {
        flex-shrink: 0 !important; /* 标题不收缩 */
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
    }

    .nrz .stat-box .stat-item .stat-value {
        flex-shrink: 0 !important; /* 数值不收缩 */
        margin-bottom: 8px !important;
        line-height: 1.1 !important;
    }

    .nrz .stat-box .stat-item .stat-description {
        flex: 1 !important; /* 描述文字占据剩余空间 */
        line-height: 1.3 !important;
        word-wrap: break-word !important; /* 长单词换行 */
        overflow-wrap: break-word !important;
    }
    /* 隐藏打印不需要的元素 */
    .nrz .color-panel, .nrz .floral-decor, .nrz .flame-decor {
        display: none !important;
    }

    /* 移除装饰效果 */
    .nrz .main-container {
        box-shadow: none !important;
        border: none !important;
    }

    /* 表格优化 */
    .nrz .info-table th {
        font-size: 18pt !important;
        padding: 12px 16px !important;
    }

    .nrz .info-table td {
        font-size: 18pt !important;
        padding: 12px 16px !important;
    }

    /* 引用框优化 */
    .nrz .quote-box {
        background: none !important;
        border-left: 3px solid var(--accent-gold) !important;
        padding: 20px !important;
    }

    .nrz .quote-text {
        font-size: 18pt !important;
    }

    /* 信息框优化 */
    .nrz .info-box {
        background: none !important;
        border: 1px solid var(--border) !important;
        padding: 20px !important;
    }

    .nrz .info-box h3 {
        font-size: 20pt !important;
    }

    .nrz .info-box p, .nrz .info-box li {
        font-size: 20pt !important;
    }
    .cover-body {
        min-height: 100vh;
        height: 100vh;
        width: 100vw;
        page-break-before: always;
        page-break-after: always;
        page-break-inside: avoid;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        background: #f0f0f0 !important;
    }
    .cover-container {
        box-shadow: none !important;
        margin: 0 auto !important;
        page-break-inside: avoid;
    }
    /* 避免分页中断封面 */
    .cover-body, .cover-container {
        break-inside: avoid;
    }

    .cover_title {
        font-size: 4.2rem !important;
    }
    .cover_subtitle {
        font-size: 2.2rem !important;
    }
    .cover_company-name {
        font-size: 3rem !important;
    }
    .cover_tagline {
        font-size: 1.6rem !important;
    }
    .cover_year {
        font-size: 9rem !important;
    }
    .cover_logo-text {
        font-size: 2.2rem !important;
    }
    .cover_company-name-small {
        font-size: 1.3rem !important;
    }
    .cover_company-info {
        margin: 50px 0px 0px 0px;
    }

}

/* 响应式设计 */
@media (max-width: 900px) {
    .nrz .header, .nrz .content-section {
        padding: 40px 30px;
    }

    .nrz .header h1 {
        font-size: 2.4rem;
    }

    .nrz .stat-item {
        padding: 16px;
    }

    .nrz .color-panel {
        display: none;
    }

    .nrz .floral-decor, .nrz .flame-decor {
        display: none;
    }

    .nrz .stat-box {
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .nrz {
        padding: 15px 10px;
    }

    .nrz .header {
        padding: 40px 20px;
    }

    .nrz .header h1 {
        font-size: 2rem;
    }

    .nrz .header p {
        font-size: 1rem;
    }

    .nrz .content-section {
        padding: 25px 18px;
    }

    .nrz .section-title {
        font-size: 1.8rem;
        padding-left: 15px;
    }

    .nrz .section-title::before {
        height: 26px;
    }

    .nrz .subsection-title {
        font-size: 1.45rem;
        margin: 30px 0 15px;
    }

    .nrz .quote-box {
        padding: 20px;
    }

    .nrz .info-box {
        padding: 20px;
    }
}
