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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fafafa;
    min-height: 100vh;
}

/* Navigation Header */
.nav-header {
    background: #1a1a1a;
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #000;
}

.nav-header h1 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}

.nav-header nav {
    display: flex;
    gap: 16px;
}

.nav-header a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border: 2px solid white;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-header a:hover {
    background: white;
    color: #1a1a1a;
}

/* Main Content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Loading & Error States */
.loading-container,
.error-container {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
}

.loading-container p {
    color: #666;
    font-size: 1.1rem;
}

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

.error {
    color: #d32f2f;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Report Content */
.report-content {
    background: white;
    padding: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    line-height: 1.8;
}

.report-content h1,
.report-content h2,
.report-content h3,
.report-content h4 {
    margin-top: 28px;
    margin-bottom: 14px;
    color: #1a1a1a;
    font-weight: 600;
}

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

.report-content h1 {
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 3px solid #1a1a1a;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.report-content h2 {
    font-size: 1.6rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

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

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

.report-content p {
    margin-bottom: 16px;
    color: #333;
}

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

.report-content li {
    margin-bottom: 2px;
    line-height: 1.6;
}

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

.report-content a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.report-content a:hover {
    text-decoration: underline;
}

.report-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

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

.report-content code {
    background: #f5f5f5;
    padding: 3px 7px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #c7254e;
    border: 1px solid #e0e0e0;
}

.report-content pre {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
    border-left: 4px solid #1a1a1a;
    overflow-x: auto;
    margin: 20px 0;
}

.report-content pre code {
    background: none;
    padding: 0;
    border: none;
    color: #1a1a1a;
}

.report-content hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

.report-content blockquote {
    border-left: 4px solid #e0e0e0;
    padding-left: 20px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: #999;
    font-size: 0.9rem;
    border-top: 1px solid #e0e0e0;
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 16px 20px;
    }

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

    main {
        padding: 30px 15px;
    }

    .report-content {
        padding: 25px 20px;
    }

    .report-content h1 {
        font-size: 1.6rem;
    }

    .report-content h2 {
        font-size: 1.3rem;
    }

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