        body {
            font-family: Arial, sans-serif;
            margin: 0;
            background: #f4f4f4;
            color: #222;
        }

        header {
            background: #1f2937;
            color: white;
            padding: 12px 16px;
        }

        .header-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .user-info {
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        nav {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }

        nav a,
        nav button {
            display: inline-block;
            padding: 8px 10px;
            border: none;
            border-radius: 6px;
            background: #374151;
            color: white;
            text-decoration: none;
            font-size: 0.95rem;
            cursor: pointer;
        }

        nav a:hover,
        nav button:hover {
            background: #4b5563;
        }

        .logout-form {
            display: inline;
            margin: 0;
        }

        main {
            padding: 16px;
            max-width: 900px;
            margin: 0 auto;
        }

        .card {
            background: white;
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 16px;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
        }

        .button {
            display: inline-block;
            padding: 10px 14px;
            border: none;
            border-radius: 6px;
            background: #2563eb;
            color: white;
            text-decoration: none;
            cursor: pointer;
            margin-bottom: 4px;
        }

        input,
        select,
        textarea {
            width: 100%;
            padding: 10px;
            margin-top: 4px;
            margin-bottom: 12px;
            box-sizing: border-box;
        }

        @media (max-width: 600px) {
            nav {
                flex-direction: column;
                align-items: stretch;
            }

            nav a,
            nav button {
                width: 100%;
                text-align: left;
            }

            main {
                padding: 10px;
            }
        }

        .table-wrapper {
            overflow-x: auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th,
        td {
            padding: 10px;
            border-bottom: 1px solid #e5e7eb;
            text-align: left;
        }

        th {
            background: #f9fafb;
        }

        .section-header-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.section-header-row p {
    margin: 0;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.button-active {
    background: #111827;
}

@media (max-width: 600px) {
    .section-header-row {
        align-items: stretch;
    }

    .filter-buttons {
        width: 100%;
    }

    .filter-buttons .button {
        flex: 1;
        text-align: center;
    }
}

nav a.nav-primary {
    background: #2563eb;
}

nav a.nav-primary:hover {
    background: #1d4ed8;
}  

.monthly-navigation {
    margin-top: 10px;
    margin-bottom: 16px;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e5e7eb;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge-muted {
    font-weight: 500;
}