:root {
    --bg: #eef3f1;
    --card: #ffffff;
    --text: #152224;
    --muted: #5f6f72;
    --line: #dbe6e3;
    --link: #0f5f68;
    --link-hover: #0a4a51;
    --accent: #cf8d2e;
    --accent-soft: #fdf3e3;
    --shadow: 0 22px 56px rgba(17, 43, 47, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 34px 16px;
    font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    color: var(--text);
    background:
        radial-gradient(1200px 450px at 6% -8%, #ffffff 0%, #f3f8f6 36%, transparent 74%),
        radial-gradient(900px 360px at 100% 0%, #edf7f4 0%, transparent 70%),
        linear-gradient(180deg, #f8fbfa 0%, var(--bg) 100%);
}

.card,
.report-card,
.supplier-card {
    width: min(900px, 100%);
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.card {
    overflow: hidden;
}

.product-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    background: #eaf0ef;
}

.info {
    padding: 22px 24px 26px;
}

h1 {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.4px;
}

.row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 12px;
    border-top: 1px solid var(--line);
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.row:first-of-type {
    border-top: 0;
}

.row:hover {
    background: #f8fcfb;
}

.label {
    width: 120px;
    flex: 0 0 120px;
    font-size: 14px;
    letter-spacing: 0.3px;
    color: var(--muted);
}

.value {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
}

.link,
.report-link,
.back-link,
.open-original,
.download-link {
    color: var(--link);
    text-decoration: none;
    font-weight: 600;
}

.link:hover,
.report-link:hover,
.back-link:hover,
.open-original:hover,
.download-link:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.report-card,
.supplier-card {
    padding: 24px 22px 28px;
}

.report-card p {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.report-item {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.report-link {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f2f9f8;
}

.report-link:hover {
    background: #e7f4f2;
    text-decoration: none;
}

.download-link {
    font-size: 14px;
    color: #0f6b59;
}

.back-link {
    display: inline-block;
    margin-top: 16px;
}

.supplier-actions .back-link,
.supplier-actions .open-original {
    margin-top: 0;
}

.supplier-image {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #f7faf9;
}

.supplier-actions {
    margin-top: 16px;
    display: flex;
    gap: 14px;
}

.open-original,
.back-link {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
}

.open-original:hover,
.back-link:hover {
    text-decoration: none;
    background: #f8e9d2;
}

.empty-state {
    color: var(--muted);
    margin-top: 8px;
}

@media (max-width: 640px) {
    body {
        padding: 14px 10px 18px;
    }

    .info,
    .report-card,
    .supplier-card {
        padding: 14px 12px 16px;
    }

    h1 {
        font-size: 26px;
    }

    .row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .label {
        width: auto;
        flex-basis: auto;
    }

    .report-card p,
    .report-item,
    .supplier-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .report-item .report-link,
    .report-item .download-link,
    .supplier-actions .back-link,
    .supplier-actions .open-original {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid var(--line);
        text-align: center;
    }

    .report-item .download-link {
        background: #eef6f4;
    }
}