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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    min-height: 100vh;
}

header {
    border-bottom: 3px solid #0066cc;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    font-size: 1rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #333;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.info-box {
    background: #e6f2ff;
    border-left: 4px solid #0066cc;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.info-box p {
    margin: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

tr:hover {
    background: #f8f9fa;
}

.result-cell {
    font-family: "SF Mono", Monaco, "Courier New", monospace;
    font-size: 0.95rem;
}

.change-better {
    color: #28a745;
    font-weight: bold;
}

.change-worse {
    color: #dc3545;
    font-weight: bold;
}

.change-neutral {
    color: #6c757d;
}

.trend-better {
    color: #28a745;
    font-weight: 600;
}

.trend-worse {
    color: #dc3545;
    font-weight: 600;
}

.trend-neutral {
    color: #6c757d;
}

.sparkline {
    width: 200px;
}

.sparkline .bar {
    display: inline-block;
    width: 8px;
    margin: 0 1px;
    background: #0066cc;
    vertical-align: bottom;
    min-height: 2px;
}

.links {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.links a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.links a:hover {
    text-decoration: underline;
}

.about {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.9rem;
}

.about ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

code {
    background: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: "SF Mono", Monaco, "Courier New", monospace;
    font-size: 0.9em;
}

footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    text-align: center;
    color: #999;
    font-size: 0.875rem;
}

footer a {
    color: #0066cc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
