:root {
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    background: #f5f7fb;
    color: #1f2937;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
}

h1 {
    margin-bottom: 6px;
}

.subtitle {
    margin-top: 0;
    color: #6b7280;
}

.filter-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    background: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    margin-bottom: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-weight: 600;
}

input, select, button, .secondary-btn {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

.actions {
    display: flex;
    align-items: end;
    gap: 10px;
}

button, .secondary-btn {
    text-decoration: none;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

.secondary-btn {
    background: #6b7280;
}

.print-btn {
    background: #0f766e;
    color: white;
}

.summary {
    margin-bottom: 12px;
    font-size: 14px;
}

.table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

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

th, td {
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

th {
    background: #f9fafb;
}

.alert {
    padding: 14px 16px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
}

.alert.error {
    background: #fef2f2;
    color: #b91c1c;
}

@media print {
    body {
        background: white;
        color: black;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .filter-box,
    .actions,
    .subtitle {
        display: none !important;
    }

    .table-wrapper {
        box-shadow: none;
        border: 1px solid #d1d5db;
    }

    th, td {
        padding: 8px 10px;
    }
}
