body.home-page .container {
    width: min(100%, 1080px);
}

.mobile-help-row {
    display: none;
}

.mobile-help-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.58rem 0.8rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(47, 108, 109, 0.22);
    background: rgba(255, 255, 255, 0.8);
    color: var(--accent-strong);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.switch-row {
    display: flex;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.view-switch {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(23, 41, 52, 0.08);
    box-shadow: 0 10px 24px rgba(23, 41, 52, 0.05);
    overflow: hidden;
}

.view-switch-glider {
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    width: calc(50% - 0.25rem);
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
    box-shadow: 0 8px 18px rgba(46, 106, 109, 0.16);
    transition: transform 180ms ease;
}

.view-switch-glider.is-streckenflug {
    transform: translateX(100%);
}

.view-switch-link {
    position: relative;
    z-index: 1;
    padding: 0.7rem 1.05rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.view-switch-link.active {
    color: #ffffff;
}

.view-switch-link.inactive {
    color: var(--text-muted);
}

.report-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.report-nav-wrap {
    position: relative;
    margin-bottom: 1.2rem;
}

.report-pill {
    padding: 0.68rem 0.95rem;
    border-radius: 9999px;
    border: 1px solid rgba(23, 41, 52, 0.08);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
    white-space: nowrap;
}

.report-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(47, 108, 109, 0.3);
    color: var(--accent);
}

.report-pill.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.report-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.report-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-warm) 100%);
}

.report-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.report-kicker {
    margin: 0;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.report-updated {
    color: var(--text-soft);
    font-size: 0.86rem;
    text-align: right;
    white-space: nowrap;
}

.prose h1 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--accent-strong);
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.prose h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 1.2rem;
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.prose h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 0.95rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.prose p {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.prose li {
    margin-bottom: 0.35rem;
}

.prose hr {
    border-color: rgba(23, 41, 52, 0.12);
    margin: 1.4rem 0;
}

.prose blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    font-style: italic;
    color: var(--text-soft);
    background: rgba(47, 108, 109, 0.06);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0 0.35rem 0.35rem 0;
}

.prose table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: rgba(255, 255, 255, 0.58);
    border-radius: 0.5rem;
    overflow: hidden;
}

.prose th {
    background-color: rgba(47, 108, 109, 0.11);
    color: var(--accent-strong);
    padding: 0.72rem 0.85rem;
    font-weight: 700;
}

.prose td {
    padding: 0.72rem 0.85rem;
    border-bottom: 1px solid rgba(23, 41, 52, 0.08);
    color: var(--text-muted);
}

.prose tr:last-child td {
    border-bottom: none;
}

.prose > :first-child {
    margin-top: 0 !important;
}

.prose > :last-child {
    margin-bottom: 0 !important;
}

@media (min-width: 768px) {
    .report-card {
        padding: 1.45rem 1.8rem;
    }
}

@media (max-width: 767px) {
    body.home-page .report-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    body.home-page .header-doc-link {
        display: none;
    }

    body.home-page .mobile-help-row {
        display: block;
        margin-bottom: 0.75rem;
    }

    body.home-page .report-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        overflow: visible;
        padding: 0;
        margin-bottom: 0;
    }

    body.home-page .report-pill {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
        text-align: center;
        font-size: 0.78rem;
        line-height: 1.25;
        padding: 0.56rem 0.5rem;
    }

    body.home-page .report-updated {
        text-align: left;
        white-space: normal;
    }

    body.home-page .view-switch {
        width: 100%;
    }

    body.home-page .view-switch-link {
        padding: 0.72rem 0.85rem;
        font-size: 0.74rem;
    }
}
