ul.pagination         { list-style:none; margin:8px 0; padding:0;
                        display:flex; gap:4px; font-family:sans-serif; }
ul.pagination li      { }
ul.pagination a,
ul.pagination span    { padding:4px 10px; border:1px solid #ddd;
                        text-decoration:none; color:#000; }
ul.pagination a:hover { background:#f0f0f0; }
ul.pagination .active { background:#4caf50; color:#fff; border-color:#4caf50; }
ul.pagination .disabled { color:#999; pointer-events:none; border-color:#eee; }

.search-form {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.field {
  flex-direction: column;
}

.field label {
  font-weight: 600;
  line-height: 1.1;
}

.field input,
.field select {
  width: 100%;
}

.field-wide {
  grid-column: span 2;
}

.field-small {
  max-width: 110px;
}

.results-panel {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 230px);
  min-height: 520px;
  border: 1px solid #d6d6d6;
  background: #fff;
}

.results-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.results-footer {
  flex: 0 0 auto;
  border-top: 1px solid #d6d6d6;
  background: #fafafa;
  padding: 0.6rem 0.75rem;
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.results {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.results th,
.results td {
  border: 1px solid #e1e1e1;
  padding: 0.45rem 0.5rem;
  text-align: left;
}

.results thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #eef4f8;
  color: #1f2d3d;
  font-weight: 700;
  border-bottom: 2px solid #b7c8d6;
  box-shadow: 0 1px 0 #d7e1e8;
}

.results tbody tr:nth-child(odd) {
  background: #fcfcfc;
}

.results tbody tr:nth-child(even) {
  background: #f4f8fb;
}

.results tbody tr:hover {
  background: #eaf3f9;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li a,
.pagination li span {
  display: inline-block;
  padding: 0.3rem 0.55rem;
  border: 1px solid #cfcfcf;
  background: #fff;
  text-decoration: none;
}

.pagination li .active {
  background: #5aa35a;
  color: #fff;
  border-color: #5aa35a;
}

.pagination li .disabled {
  color: #999;
  background: #f3f3f3;
}

.jump-form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
