.cp-poligons .filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.cp-poligons table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.cp-poligons th,
.cp-poligons td {
    border: 1px solid #ccc;
    padding: 0.4rem;
}

.cp-poligons th {
    background: #f4f4f4;
    position: sticky;
    top: 0;
}

.cp-poligons .toolbar {
display: flex;
flex-wrap: wrap;
gap: 1rem;
align-items: center;
margin-bottom: 0.5rem;
}


#pagination button {
margin: 0 0.2rem;
padding: 0.3rem 0.6rem;
}


#pagination button.active {
background: #0073aa;
color: #fff;
}


th[data-sort] {
cursor: pointer;
}


.cp-poligons {
  font-size: 0.95rem;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.field label {
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px; /* WCAG */
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.5rem;
  border: 1px solid #ccc;
}

th[data-sort] {
  cursor: pointer;
}

th:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #005fcc;
}

.map {
  height: 400px;
  margin: 1rem 0;
}

.hint {
  font-style: italic;
}