:root {
    --accent-primary: #b54730;
    --accent-secondary: #c65d42;
    --accent-light: #fff0e9;
    --content-max-width: 1000px;
    --nav-width: 288px;
}

[data-theme="dark"] {
    --accent-primary: #f2a38a;
    --accent-secondary: #fac3af;
    --accent-light: #392c2a;
}

.content { overflow-wrap: anywhere; }
.report-label { color: var(--accent-primary); font-size: 14px; font-weight: 700; letter-spacing: .08em; margin: 8px 0 18px; }
.title-date { display: block; color: var(--text-secondary); font-size: .65em; font-weight: 500; margin-top: 12px; }
.meta { color: var(--text-secondary); font-size: 14px; margin: 18px 0 24px; }
.source-banner { align-items: flex-start; flex-wrap: wrap; }
.report-scope { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; padding: 20px 0 28px; border-bottom: 1px solid var(--border-color); margin-bottom: 44px; font-size: 14px; }
.report-scope > span { color: var(--text-secondary); }
.report-scope strong { font-weight: 500; }
.chapter-kicker { color: var(--accent-primary); font: 600 13px/1.6 Inter, sans-serif; letter-spacing: .04em; margin-top: 56px; }
.report-chapter > h2 { margin-top: 10px; }
.section-title-en { color: var(--text-secondary); font-size: 14px; margin-top: -8px; margin-bottom: 30px; }
.report-page { position: relative; padding-top: 20px; }
.page-source { display: block; width: max-content; margin: 0 0 10px auto; color: var(--text-muted); font: 12px/1.5 Inter, sans-serif; text-decoration: none; }
.report-page h3, .report-page h4 { scroll-margin-top: 84px; }
.report-page h3 { font-size: 1.4rem; margin: 24px 0 18px; }
.report-page h4 { font-size: 1.1rem; margin: 24px 0 14px; }
.report-figure { margin: 26px 0 32px; }
.report-figure img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--border-color); border-radius: 8px; }
.report-figure figcaption { margin-top: 12px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.report-figure figcaption a { white-space: nowrap; margin-left: 6px; }
.table-wrapper { max-width: 100%; margin: 24px 0; border: 1px solid var(--border-color); border-radius: 8px; }
.table-wrapper table { margin: 0; min-width: 540px; width: 100%; font-size: 14px; }
.table-wrapper th { white-space: normal; }
.table-wrapper td, .table-wrapper th { vertical-align: top; overflow-wrap: anywhere; }
.ioc { padding: 20px; font-size: 13px; line-height: 1.8; overflow-x: auto; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.nav-link.sub { font-size: 13px; line-height: 1.65; padding-top: 8px; padding-bottom: 8px; }
.nav-sidebar { overscroll-behavior: contain; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 3000; background: var(--bg-primary); color: var(--accent-primary); padding: 12px 18px; border: 2px solid var(--accent-primary); }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 4px; }
.source-references { font-size: 14px; color: var(--text-secondary); margin: 18px 0; }
.source-references summary { cursor: pointer; }
@media (max-width: 640px) {
    .header { padding: 0 12px; }
    .header-logo { font-size: 15px; gap: 6px; }
    .header-logo svg { width: 24px; height: 24px; }
    .header-actions { gap: 6px; }
    .content h1 { font-size: 2rem; }
    .report-page h3 { font-size: 1.25rem; }
    .report-scope { grid-template-columns: 1fr; gap: 5px; }
    .report-scope strong { margin-bottom: 10px; }
    .ioc { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
@media print {
    .header, .nav-sidebar, .back-to-top, .progress-bar, .skip-link { display: none !important; }
    .main { margin: 0; padding: 0; }
    .content { max-width: none; padding: 0; }
    .report-figure, tr { break-inside: avoid; }
    .report-chapter > h2 { break-after: avoid; }
}
