:root {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    background: #f4f4f4;
}

* { box-sizing: border-box; }
body { margin: 0; }
.container { max-width: 1600px; margin: 0 auto; padding: 20px; }
.page-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
h1 { margin: 0 0 4px; font-size: 26px; }
p { margin: 0; }
.sync-box { text-align: right; font-size: 13px; }
#sync-status { margin-top: 8px; max-width: 480px; }
button, select, input { font: inherit; }
button { padding: 8px 12px; cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 14px; background: #fff; border: 1px solid #ccc; }
.filters > label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.filters select, .filters input[type="search"] { min-width: 150px; padding: 7px; border: 1px solid #aaa; background: #fff; }
.checkboxes { display: flex; flex-direction: column; gap: 7px; padding-bottom: 4px; }
.checkbox-label { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.filter-actions { display: flex; gap: 10px; align-items: center; }
.summary { margin: 14px 0; font-size: 14px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #bbb; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th, td { padding: 8px 9px; border-bottom: 1px solid #ddd; border-right: 1px solid #eee; text-align: left; font-size: 13px; }
th { position: sticky; top: 0; background: #e8e8e8; z-index: 1; }
th a { color: inherit; text-decoration: none; }
th a:hover { text-decoration: underline; }
tbody tr:nth-child(even) { background: #fafafa; }
tbody tr:hover { background: #fff7cf; }
.number { text-align: right; font-variant-numeric: tabular-nums; }
.strong { font-weight: 700; }

@media (max-width: 800px) {
    .page-header { flex-direction: column; }
    .sync-box { text-align: left; }
}
