:root {
    /* Morandi-inspired color palette - muted, soft, earthy tones */
    --primary-color: #8b9a9f;
    --primary-dark: #6b7a7f;
    --secondary-color: #a8a5a0;
    --success-color: #9a9b8a;
    --warning-color: #c4a88a;
    --danger-color: #b89a8a;
    --bg-color: #faf9f7;
    --bg-secondary: #f5f4f2;
    --bg-tertiary: #f0efed;
    --text-primary: #3a3936;
    --text-secondary: #6b6a67;
    --border-color: #e0ded9;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

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

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    background: linear-gradient(135deg, #d4d1cc 0%, #c4c1bc 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    background: var(--bg-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    box-sizing: border-box;
}

header {
    background: linear-gradient(135deg, #a8a5a0 0%, #8b9a9f 100%);
    color: #faf9f7;
    padding: 3rem 2rem;
    text-align: center;
}

header h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    font-family: 'Avenir', 'Avenir Next', sans-serif;
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    margin-bottom: 1rem;
    font-weight: 500;
}

.description {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.authors {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.authors-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.authors-list {
    font-size: 1.05rem;
    opacity: 0.95;
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    font-weight: 500;
    line-height: 1.6;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #faf9f7;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.controls {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    align-items: center;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.control-group select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    min-width: 180px;
}

.control-group select:hover {
    border-color: #a8a5a0;
}

.control-group select:focus {
    outline: none;
    border-color: #8b9a9f;
    box-shadow: 0 0 0 3px rgba(139, 154, 159, 0.15);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.stat {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    color: #7a7974;
    font-family: 'Avenir', 'Avenir Next', sans-serif;
}

.leaderboard-container {
    padding: 2rem;
    overflow-x: auto;
}

#chart-view {
    margin-bottom: 2rem;
}

#table-view {
    margin-top: 1rem;
}

.leaderboard {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.leaderboard thead {
    background: var(--bg-secondary);
}

.leaderboard th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-color);
    font-family: 'Avenir', 'Avenir Next', sans-serif;
}

.leaderboard th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}

.leaderboard th.sortable:hover {
    background: var(--bg-tertiary);
}

.leaderboard th.sortable .sort-icon {
    margin-left: 0.5rem;
    opacity: 0.4;
    font-size: 0.75rem;
}

.leaderboard th.sortable.active-sort .sort-icon {
    opacity: 1;
}

.leaderboard tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.leaderboard tbody tr:hover {
    background: var(--bg-secondary);
}

.leaderboard tbody tr:last-child {
    border-bottom: none;
}

.leaderboard td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.rank-col {
    width: 90px;
    text-align: center;
    font-weight: 700;
    color: var(--text-secondary);
}

.model-col {
    font-weight: 500;
    color: var(--text-primary);
    min-width: 180px;
    font-family: 'Avenir', 'Avenir Next', sans-serif;
}

.rate-col {
    width: 160px;
}

.rate-value {
    font-size: 1.5rem;
    font-weight: 600;
    display: inline-block;
    margin-right: 0.5rem;
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    color: #6b6a67;
}

.rate-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.rate-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #9a9b8a 0%, #c4a88a 50%, #b89a8a 100%);
    transition: width 0.3s ease;
}

.turns-col {
    min-width: 250px;
}

.domain-breakdown-col {
    min-width: 300px;
}

.domain-breakdown-col>div:first-child {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.domain-labels {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.domain-labels span {
    flex: 1;
    text-align: center;
    padding: 0.25rem;
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.domain-labels span.domain-sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}

.domain-labels span.domain-sortable:hover {
    background: var(--border-color);
}

.domain-labels span.domain-sortable .sort-icon {
    margin-left: 0.25rem;
    opacity: 0.4;
    font-size: 0.65rem;
}

.domain-labels span.domain-sortable.active-sort {
    background: var(--border-color);
}

.domain-labels span.domain-sortable.active-sort .sort-icon {
    opacity: 1;
}

.domain-breakdown {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.domain-rate {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.chart-container {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

#bar-chart {
    width: 100%;
    min-height: 400px;
    height: auto;
}

.bar-group {
    cursor: pointer;
    transition: opacity 0.2s;
}

.bar-group:hover {
    opacity: 0.8;
}

.bar {
    transition: opacity 0.2s;
}

.bar-label {
    font-size: 0.75rem;
    fill: var(--text-secondary);
    text-anchor: middle;
}

.chart-axis {
    font-size: 0.875rem;
    fill: var(--text-secondary);
}

.chart-title {
    font-size: 1rem;
    font-weight: 600;
    fill: var(--text-primary);
    text-anchor: middle;
}

.turn-progression {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.turn-item {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 0.875rem;
}

.turn-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.turn-value {
    font-weight: 600;
    color: var(--text-primary);
}

.badge-col {
    width: 120px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-excellent {
    background: #e0dfd8;
    color: #6b6a67;
}

.badge-good {
    background: #d8d7d0;
    color: #6b6a67;
}

.badge-fair {
    background: #d4d1cc;
    color: #6b6a67;
}

.badge-poor {
    background: #c9c6c1;
    color: #6b6a67;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-style: italic;
}

.insights-section {
    padding: 3rem 2rem;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

.insights-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    font-weight: 600;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.insights-grid-vertical {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.insight-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid #8b9a9f;
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.insight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.insight-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.takeaway-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: #8b9a9f;
    color: white;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    flex-shrink: 0;
}

.insight-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.125rem;
    margin: 0;
}

.info-section {
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.challenge-section {
    padding: 3rem 2rem;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.challenge-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    font-weight: 600;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.challenge-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid #8b9a9f;
}

.challenge-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.challenge-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    font-weight: 600;
    text-align: center;
}

.challenge-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.125rem;
    text-align: center;
}

.info-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.125rem;
}

footer {
    padding: 2rem;
    text-align: center;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #8b9a9f;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #6b7a7f;
    text-decoration: underline;
}

.turn-stats-container {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 2rem;
}

.grounding-failures-container,
.coding-language-container {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 2rem;
}

.grounding-failures-container h2,
.coding-language-container h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    font-weight: 600;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#grounding-failures-chart,
#coding-language-chart {
    width: 100%;
    height: 500px;
}

.grounding-bar,
.language-bar {
    transition: opacity 0.2s;
    cursor: pointer;
}

.grounding-bar:hover,
.language-bar:hover {
    opacity: 0.8;
}

#line-chart-container {
    width: 100%;
}

#line-chart {
    width: 100%;
    height: 600px;
}

.line-path {
    cursor: pointer;
    transition: opacity 0.2s;
}

.line-path:hover {
    opacity: 1;
    stroke-width: 3;
}

.line-point {
    cursor: pointer;
    transition: r 0.2s;
}

.line-point:hover {
    r: 6;
}

.turn-stats-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.turn-stats-table thead {
    background: var(--bg-secondary);
}

.turn-stats-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-color);
    font-family: 'Avenir', 'Avenir Next', sans-serif;
}

.turn-stats-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.turn-stats-table tbody tr:hover {
    background: var(--bg-secondary);
}

.turn-stats-table tbody tr:last-child {
    border-bottom: none;
}

.turn-stats-table td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
}

.turn-col {
    width: 150px;
}

.avg-col {
    width: 150px;
}

.trend-col {
    width: 80px;
    text-align: center;
}

.turn-value {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    color: #6b6a67;
}

.turn-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.turn-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #9a9b8a 0%, #c4a88a 50%, #b89a8a 100%);
    transition: width 0.3s ease;
}

.trend-indicator {
    font-size: 1.5rem;
    display: inline-block;
    font-weight: 500;
}

.trend-increasing {
    color: #b89a8a;
}

.trend-decreasing {
    color: #9a9b8a;
}

.trend-stable {
    color: #a8a5a0;
}

/* Team Section Styles */
.team-section {
    padding: 3rem 2rem;
    background: #faf9f7;
    /* Very light beige */
    border-top: 1px solid var(--border-color);
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #3a3936;
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: #f2f0eb;
    /* Beige card background */
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid #e0ded9;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #ebe9e4;
}

.team-card h3 {
    font-size: 1.5rem;
    color: #a67c52;
    /* Brownish color for names */
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    letter-spacing: 0.02em;
}

.team-card p {
    color: #5c5b57;
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    body {
        padding: 1rem 0.5rem;
    }

    .container {
        border-radius: 8px;
    }

    header {
        padding: 2rem 1rem;
    }

    header h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1.125rem;
    }

    .header-links {
        font-size: 0.9rem !important;
        gap: 1rem !important;
    }

    .main-nav {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .control-group {
        width: 100%;
    }

    .control-group select {
        width: 100%;
        min-width: unset;
    }

    .benchmark-rationale {
        margin-bottom: 1rem !important;
    }

    .benchmark-rationale h3 {
        font-size: 1.1em !important;
    }

    .benchmark-rationale p {
        font-size: 1em !important;
    }

    .leaderboard-container {
        padding: 1rem;
    }

    .leaderboard {
        font-size: 0.75rem;
    }

    .leaderboard th,
    .leaderboard td {
        padding: 0.5rem 0.375rem;
    }

    .rank-col {
        width: 50px;
    }

    .model-col {
        min-width: 120px;
        font-size: 0.8rem;
    }

    .rate-col {
        width: 100px;
    }

    .rate-value {
        font-size: 1.125rem;
    }

    .domain-breakdown-col {
        min-width: 200px;
    }

    .domain-breakdown {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .domain-rate {
        font-size: 0.75rem;
        padding: 0.25rem 0.375rem;
    }

    .chart-container {
        padding: 1rem;
    }

    #bar-chart {
        min-height: 400px;
        height: auto;
    }

    .turn-progression {
        flex-direction: column;
        gap: 0.25rem;
    }

    .insights-section {
        padding: 2rem 1rem;
    }

    .insights-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .insight-card {
        padding: 1.5rem;
    }

    .insight-card h3 {
        font-size: 1.1rem;
    }

    .insight-card p {
        font-size: 1rem;
    }

    .info-section {
        padding: 2rem 1rem;
    }

    .info-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .benchmark-overview {
        padding: 1.5rem !important;
    }

    .benchmark-overview p {
        font-size: 1em !important;
    }

    .pipeline-section {
        padding: 0 1rem !important;
    }

    .pipeline-section h2 {
        font-size: 1.5rem;
    }

    .pipeline-section h3 {
        font-size: 1.1em !important;
    }

    .pipeline-wrap {
        max-width: 100%;
    }

    .pipeline-wrap h1 {
        font-size: 1.2em !important;
    }

    .pipeline-wrap p {
        font-size: 0.95em !important;
    }

    .pipeline-box {
        min-width: 100px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    .pipeline-box .sub {
        font-size: 11px !important;
    }

    .pipeline-panel-title .k {
        font-size: 16px !important;
    }

    .pipeline-note {
        font-size: 11px !important;
    }

    .pipeline-pill {
        font-size: 11px !important;
    }

    .verification-stage {
        width: 100% !important;
        height: auto !important;
        min-height: 400px;
        position: relative;
    }

    .verification-block {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }

    .verification-responses {
        left: 5% !important;
        width: 25% !important;
        height: 60px !important;
    }

    .verification-atomic {
        left: 2% !important;
        width: 35% !important;
        height: 70px !important;
    }

    .verification-search {
        left: 3% !important;
        width: 30% !important;
        height: 40px !important;
        font-size: 12px !important;
    }

    .verification-found {
        left: 4% !important;
        width: 28% !important;
        height: 40px !important;
    }

    .verification-parse {
        left: 35% !important;
        width: 60% !important;
        height: 80px !important;
        font-size: 12px !important;
    }

    .verification-grounded {
        left: 40% !important;
        width: 30% !important;
        height: 40px !important;
    }

    .verification-hall.left {
        left: 4% !important;
        width: 28% !important;
        height: 40px !important;
    }

    .verification-hall.top {
        left: 40% !important;
        width: 30% !important;
        height: 40px !important;
    }

    .verification-well {
        left: 70% !important;
        width: 28% !important;
        height: 40px !important;
    }

    .verification-g-letter {
        font-size: 14px !important;
    }

    .verification-mark {
        font-size: 18px !important;
    }

    .challenge-section {
        padding: 2rem 1rem;
    }

    .challenge-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .challenge-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .challenge-card {
        padding: 1.5rem;
    }

    .challenge-card h3 {
        font-size: 1.05rem;
    }

    .challenge-card p {
        font-size: 1rem;
    }

    .team-section {
        padding: 2rem 1rem;
    }

    .team-section h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card {
        padding: 2rem 1.5rem;
        min-height: 180px;
    }

    .team-card h3 {
        font-size: 1.25rem;
    }

    .team-card p {
        font-size: 0.9rem;
    }

    .citation-section {
        padding: 2rem 1rem !important;
    }

    .citation-section h2 {
        font-size: 1.5rem;
    }

    .citation-section pre {
        font-size: 0.75em !important;
        padding: 10px !important;
        overflow-x: auto;
    }

    .turn-stats-container,
    .grounding-failures-container,
    .coding-language-container {
        padding: 1rem;
        margin: 1rem;
    }

    .turn-stats-table {
        font-size: 0.75rem;
    }

    .turn-stats-table th,
    .turn-stats-table td {
        padding: 0.5rem 0.375rem;
    }

    #grounding-failures-chart,
    #coding-language-chart {
        height: 350px;
    }

    #line-chart {
        height: 400px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .header-links {
        font-size: 0.85rem !important;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .leaderboard {
        font-size: 0.7rem;
    }

    .leaderboard th,
    .leaderboard td {
        padding: 0.375rem 0.25rem;
    }

    .model-col {
        min-width: 100px;
        font-size: 0.75rem;
    }

    #bar-chart {
        min-height: 400px;
        height: auto;
    }

    .pipeline-box {
        min-width: 80px !important;
        padding: 6px 8px !important;
        font-size: 10px !important;
    }

    .pipeline-box .sub {
        font-size: 9px !important;
    }

    .verification-block {
        font-size: 10px !important;
        padding: 6px 8px !important;
    }
}