html, body {
    margin: 0;
    font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: #f6f7f9;
    color: #222;
}

.app-nav {
    height: 2.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0.75rem;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.app-nav a {
    color: #555;
    text-decoration: none;
}

.app-nav a.active {
    color: #1a73e8;
    font-weight: 600;
}

.toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.toolbar .spacer {
    flex: 1;
}

#field-employee {
    padding: 0.4rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 14rem;
}

main {
    padding: 1rem 1.5rem;
}

#report-title {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
}

table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
}

th, td {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid #e6e6e6;
    font-size: 0.9rem;
    text-align: left;
}

th {
    border-bottom: 2px solid #333;
    font-weight: 600;
}

td.num, th.num {
    text-align: right;
}

td.sum, th.num:last-child {
    font-weight: 600;
}

tfoot td {
    border-top: 2px solid #333;
    border-bottom: none;
    font-weight: 600;
}

.empty-message {
    color: #777;
    font-style: italic;
    display: none;
}

.btn {
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
}

#btn-prev, #btn-today, #btn-next {
    padding: 0.45rem 0.8rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
}

@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: #fff;
    }

    main {
        padding: 0;
    }

    table {
        width: 100%;
    }
}
