@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,400&display=swap');

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

body {
    font-family: 'Merriweather', Georgia, serif;
    line-height: 1.7;
    color: #3d2e1f;
    background: #feecd3;
    min-height: 100vh;
    font-size: 16px;
}

/* Navigation Header */
.nav-header {
    background: #3d2e1f;
    color: #fef9f1;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(44, 36, 22, 0.12);
}

.nav-header h1 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
}

.nav-header nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-header nav span {
    color: #fef9f1;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.85;
    margin-right: 12px;
}

.nav-header a {
    color: #fef9f1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 3px;
    transition: background 0.15s ease;
    cursor: pointer;
}

.nav-header a:hover {
    background: rgba(254, 249, 241, 0.15);
}

/* Main Content */
main {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px;
}

/* Loading & Error States */
.loading-container,
.error-container {
    text-align: center;
    padding: 72px 32px;
    background: #fef9f1;
    border: 1px solid #e5d8c8;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(61, 46, 31, 0.06);
}

.loading-container p {
    color: #6b5a47;
    font-size: 1.05rem;
    font-weight: 300;
}

.error-container {
    border-color: #d9a498;
}

.error {
    color: #b85943;
    font-size: 1.05rem;
    margin-bottom: 12px;
    font-weight: 400;
}

/* Report Content */
.report-content {
    background: #fef9f1;
    padding: 56px 48px;
    border: 1px solid #e5d8c8;
    border-radius: 2px;
    line-height: 1.8;
    box-shadow: 0 1px 3px rgba(61, 46, 31, 0.06);
}

.report-content h1,
.report-content h2,
.report-content h3,
.report-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2c2416;
    font-weight: 700;
    line-height: 1.3;
}

.report-content h1:first-child,
.report-content h2:first-child,
.report-content h3:first-child {
    margin-top: 0;
}

.report-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    border-bottom: 1px solid #c4b5a3;
    padding-bottom: 16px;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.report-content h2 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.report-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 32px;
}

.report-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 24px;
}

.report-content p {
    margin-bottom: 20px;
    color: #4a3d2e;
    font-weight: 300;
}

.report-content ul,
.report-content ol {
    margin: 20px 0;
    padding-left: 32px;
}

.report-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    font-weight: 300;
}

.report-content ul ul,
.report-content ul ol,
.report-content ol ul,
.report-content ol ol {
    margin: 12px 0;
}

.report-content a {
    color: #5a7fa3;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

.report-content a:hover {
    border-bottom-color: #5a7fa3;
}

.report-content strong {
    font-weight: 700;
    color: #2c2416;
}

.report-content em {
    font-style: italic;
}

.report-content code {
    background: #f7f0e6;
    padding: 2px 6px;
    border-radius: 2px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Consolas', monospace;
    font-size: 0.88em;
    color: #a84d62;
}

.report-content pre {
    background: #f7f0e6;
    padding: 24px;
    border-radius: 2px;
    border-left: 3px solid #9b8975;
    overflow-x: auto;
    margin: 28px 0;
    line-height: 1.6;
}

.report-content pre code {
    background: none;
    padding: 0;
    border: none;
    color: #3d2e1f;
    font-size: 0.92em;
}

.report-content hr {
    border: none;
    border-top: 1px solid #d9c9b3;
    margin: 48px 0;
}

.report-content blockquote {
    border-left: 3px solid #c4b5a3;
    padding-left: 24px;
    margin: 28px 0;
    color: #6b5a47;
    font-style: italic;
    font-weight: 300;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 24px;
    color: #9b8975;
    font-size: 0.875rem;
    font-weight: 300;
    margin-top: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .nav-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        padding: 20px 24px;
    }

    .nav-header h1 {
        font-size: 1rem;
    }

    .nav-header nav {
        width: 100%;
        flex-wrap: wrap;
    }

    main {
        padding: 40px 20px;
    }

    .report-content {
        padding: 32px 24px;
    }

    .report-content h1 {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }

    .report-content h2 {
        font-size: 1.4rem;
        margin-top: 36px;
    }

    .report-content h3 {
        font-size: 1.15rem;
    }

    .report-content h4 {
        font-size: 1rem;
    }
}

details {
  border: 1px solid #e5d8c8;
  border-radius: 2px;
  padding: 16px;
  background: #fbf7f0;
  margin: 20px 0;
}

summary {
  font-weight: 700;
  margin: -16px -16px 0;
  padding: 16px;
  color: #2c2416;
  cursor: pointer;
  font-size: 0.95rem;
}

summary:hover {
  color: #5a4a3a;
}

details[open] summary {
  border-bottom: 1px solid #e5d8c8;
  margin-bottom: 16px;
}

