:root {
    --report-bg: #f6f7f4;
    --report-paper: #ffffff;
    --report-ink: #20221f;
    --report-muted: #666b62;
    --report-line: #dde2d7;
    --report-green: #1f7a58;
    --report-red: #b24531;
    --report-gold: #a26e17;
    --report-blue: #366f9e;
    --report-black: #12130f;
    --shadow-soft: 0 18px 40px rgba(28, 34, 26, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.report-body {
    margin: 0;
    background: var(--report-bg);
    color: var(--report-ink);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

.report-shell {
    min-height: 100vh;
}

.report-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px clamp(18px, 4vw, 52px);
    background: rgba(246, 247, 244, 0.92);
    border-bottom: 1px solid rgba(221, 226, 215, 0.8);
    backdrop-filter: blur(16px);
}

.report-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--report-black);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.report-brand-mark {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 6px;
    background: var(--report-black);
    color: #fff;
    font-size: 14px;
}

.report-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.report-nav::-webkit-scrollbar {
    display: none;
}

.report-nav a {
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid var(--report-line);
    border-radius: 999px;
    background: #fff;
    color: var(--report-muted);
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.report-nav a:hover {
    border-color: var(--report-green);
    color: var(--report-green);
}

.hero {
    position: relative;
    min-height: 370px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fff;
    background: #1c211b;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(11, 14, 10, 0.86) 0%, rgba(11, 14, 10, 0.62) 44%, rgba(11, 14, 10, 0.2) 100%),
        linear-gradient(180deg, rgba(11, 14, 10, 0.22) 0%, rgba(11, 14, 10, 0.72) 100%);
    z-index: 1;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
    filter: saturate(0.96) contrast(1.04);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 72px 0 36px;
}

.eyebrow {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(34px, 5.8vw, 68px);
    line-height: 1.03;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 770px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(15px, 2vw, 18px);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 880px;
    margin: 24px 0 0;
}

.hero-meta span {
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
}

.report-main {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 34px 0 72px;
}

.section {
    padding: 34px 0;
    border-bottom: 1px solid var(--report-line);
}

.section:last-child {
    border-bottom: 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
    gap: 34px;
    align-items: end;
    margin-bottom: 24px;
}

.section-kicker {
    margin: 0 0 8px;
    color: var(--report-green);
    font-size: 13px;
    font-weight: 700;
}

.section h2 {
    margin: 0;
    color: var(--report-black);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.18;
    letter-spacing: 0;
}

.section-summary {
    margin: 0;
    color: var(--report-muted);
    font-size: 15px;
}

.insight-band {
    margin: 0 0 24px;
    padding: 18px 20px;
    border-left: 4px solid var(--report-green);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.insight-band strong {
    display: block;
    margin-bottom: 6px;
    color: var(--report-black);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.metric {
    min-height: 128px;
    padding: 16px;
    border: 1px solid var(--report-line);
    border-radius: 8px;
    background: var(--report-paper);
    box-shadow: 0 8px 22px rgba(26, 30, 23, 0.04);
}

.metric-label {
    display: block;
    color: var(--report-muted);
    font-size: 13px;
}

.metric-value {
    display: block;
    margin-top: 9px;
    color: var(--report-black);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
}

.metric-note {
    display: block;
    margin-top: 8px;
    color: var(--report-muted);
    font-size: 13px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--report-line);
    border-radius: 8px;
    background: #fff;
}

table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 15px;
    border-bottom: 1px solid var(--report-line);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

th {
    background: #eef2ea;
    color: var(--report-black);
    font-weight: 800;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2ea;
    color: var(--report-muted);
    font-size: 12px;
    font-weight: 700;
}

.tag.green {
    background: rgba(31, 122, 88, 0.12);
    color: var(--report-green);
}

.tag.red {
    background: rgba(178, 69, 49, 0.12);
    color: var(--report-red);
}

.tag.gold {
    background: rgba(162, 110, 23, 0.12);
    color: var(--report-gold);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.timeline-item {
    position: relative;
    min-height: 150px;
    padding: 16px;
    border: 1px solid var(--report-line);
    border-radius: 8px;
    background: #fff;
}

.timeline-date {
    color: var(--report-red);
    font-size: 13px;
    font-weight: 800;
}

.timeline-title {
    margin: 10px 0 8px;
    color: var(--report-black);
    font-weight: 800;
}

.timeline-text {
    margin: 0;
    color: var(--report-muted);
    font-size: 13px;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.panel {
    padding: 18px;
    border: 1px solid var(--report-line);
    border-radius: 8px;
    background: #fff;
}

.panel h3 {
    margin: 0 0 10px;
    color: var(--report-black);
    font-size: 18px;
    line-height: 1.35;
}

.panel p,
.panel li {
    color: var(--report-muted);
    font-size: 14px;
}

.panel p {
    margin: 0 0 10px;
}

.panel p:last-child {
    margin-bottom: 0;
}

.panel ul,
.panel ol {
    margin: 0;
    padding-left: 19px;
}

.panel li + li {
    margin-top: 7px;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.analysis-card {
    min-height: 250px;
    padding: 18px;
    border: 1px solid var(--report-line);
    border-radius: 8px;
    background: #fff;
}

.analysis-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.analysis-card dl {
    margin: 0;
}

.analysis-card dt {
    margin-top: 12px;
    color: var(--report-black);
    font-size: 13px;
    font-weight: 800;
}

.analysis-card dd {
    margin: 4px 0 0;
    color: var(--report-muted);
    font-size: 14px;
}

.cause-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cause {
    padding: 18px;
    border: 1px solid var(--report-line);
    border-radius: 8px;
    background: #fff;
}

.cause-number {
    display: inline-grid;
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    place-items: center;
    border-radius: 6px;
    background: var(--report-black);
    color: #fff;
    font-weight: 800;
}

.cause h3 {
    margin: 0 0 10px;
    color: var(--report-black);
    font-size: 18px;
}

.cause p {
    margin: 0;
    color: var(--report-muted);
    font-size: 14px;
}

.score-list {
    display: grid;
    gap: 10px;
}

.score-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 60px;
    gap: 12px;
    align-items: center;
}

.score-label,
.score-value {
    color: var(--report-black);
    font-size: 13px;
    font-weight: 800;
}

.score-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7eae2;
}

.score-fill {
    height: 100%;
    border-radius: inherit;
    background: var(--report-green);
}

.score-fill.gold {
    background: var(--report-gold);
}

.score-fill.red {
    background: var(--report-red);
}

.source-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.source-item {
    padding: 14px 16px;
    border: 1px solid var(--report-line);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}

.source-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--report-black);
}

.source-item a,
.source-item span {
    overflow-wrap: anywhere;
    color: var(--report-muted);
}

.footnote {
    margin: 20px 0 0;
    color: var(--report-muted);
    font-size: 13px;
}

@media (max-width: 980px) {
    .report-topbar {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 12px;
        padding: 10px 14px;
    }

    .report-nav {
        order: 3;
        width: 100%;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .metric-grid,
    .timeline,
    .analysis-grid,
    .cause-map,
    .source-grid,
    .two-column {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 660px) {
    .hero {
        min-height: 410px;
    }

    .hero::before {
        background:
            linear-gradient(180deg, rgba(11, 14, 10, 0.52) 0%, rgba(11, 14, 10, 0.86) 100%);
    }

    .hero-content {
        padding-top: 92px;
    }

    .metric-grid,
    .timeline,
    .analysis-grid,
    .cause-map,
    .source-grid,
    .two-column {
        grid-template-columns: 1fr;
    }

    .report-main,
    .hero-content {
        width: min(100% - 28px, 1180px);
    }

    .score-row {
        grid-template-columns: 88px minmax(0, 1fr) 48px;
    }
}
