/* Comprehensive Report Styling with Unicode Support */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', 'DejaVu Sans', Arial, sans-serif;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    line-height: 1.6;
    color: #333;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

h1 { font-size: 2.2em; border-bottom: 3px solid #333; padding-bottom: 0.3em; }
h2 { font-size: 1.8em; border-bottom: 2px solid #666; padding-bottom: 0.2em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }

/* Code blocks */
pre {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    overflow-x: auto;
}

code {
    font-family: 'Consolas', 'DejaVu Sans Mono', 'Noto Mono', monospace;
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.9em;
}

pre code {
    background-color: transparent;
    padding: 0;
}

/* Unicode support for special characters */
.phoenician {
    font-family: 'Noto Sans Phoenician', 'Code2001', 'MPH 2B Damase', sans-serif;
    font-size: 1.2em;
}

.mathematical {
    font-family: 'DejaVu Sans', 'Cambria Math', 'STIX', sans-serif;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Tables */
table {
    border-collapse: collapse;
    margin: 1em 0;
    width: 100%;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f0f0f0;
    font-weight: bold;
}

/* TOC */
#TOC {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

#TOC ul {
    list-style-type: none;
    padding-left: 20px;
}

#TOC > ul {
    padding-left: 0;
}

#TOC a {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        margin: 10px;
        padding: 10px;
    }
    
    pre {
        font-size: 0.8em;
    }
}