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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #ffffff;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

header .subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 5px;
}

header .last-updated {
    font-size: 0.9rem;
    color: #95a5a6;
    font-style: italic;
}

/* Typography */
h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #34495e;
}

h4 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

p {
    margin-bottom: 15px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

li {
    margin-bottom: 5px;
}

hr {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin: 40px 0;
}

address {
    font-style: normal;
    background: #f1f4f6;
    padding: 15px;
    border-radius: 5px;
    display: inline-block;
}

/* Table of Contents */
.toc {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.toc h2 {
    margin-top: 0;
    border-bottom: none;
    font-size: 1.4rem;
}

.toc ol {
    padding-left: 20px;
    margin-bottom: 0;
}

.toc li {
    margin-bottom: 8px;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.9rem;
}

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

th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #2c3e50;
}

td:nth-child(1) {
    width: 30%;
    font-weight: 500;
}

td:nth-child(3) {
    text-align: center;
    width: 15%;
}

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

/* Responsive */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }

    th, td {
        display: block;
        width: 100%;
    }
    
    th {
        display: none; /* Hide headers on very small screens if easier to read stacked */
    }

    td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }
    
    /* Revert table stacking for this specific table type as it's better to just scroll */
    table, th, td {
        display: table-cell;
    }
    
    table {
        display: table;
    }
    
    thead {
        display: table-header-group;
    }
    
    tr {
        display: table-row;
    }
}