#member-filter {padding:1rem;margin:1rem 0;background:#f6f3ed;border:1px solid #d8d0c4;border-radius:.5rem}
#member-filter[hidden],#member-filter-empty[hidden],#iwc-member-table tr[hidden] {display:none!important}
#member-filter label {display:block;font-weight:700;margin-bottom:.4rem}
.member-filter-controls {display:flex;flex-wrap:wrap;gap:.5rem}
#member-filter input {flex:1 1 14rem;min-width:0;max-width:100%;box-sizing:border-box;font:inherit;padding:.7rem;border:1px solid #756e65;border-radius:.25rem}
#member-filter button,#member-filter-empty button {font:inherit;padding:.7rem;min-height:44px;cursor:pointer;border:1px solid #756e65;border-radius:.25rem;background:#fff;color:#392d24}
#member-filter p {margin:.6rem 0 0}
#member-filter input:focus-visible,#member-filter button:focus-visible,#member-filter-empty button:focus-visible {outline:3px solid #a12626;outline-offset:3px}
#member-filter-empty {padding:1rem;border-left:4px solid #a12626;background:#fff7ee}

@media (max-width: 767px) {
  #iwc-member-table tr > th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 6rem;
    max-width: 6rem;
    overflow-wrap: anywhere;
    background: #fff;
    box-shadow: 1px 0 #ddd;
  }
  #iwc-member-table thead tr > th:first-child {
    background: #f6f3ed;
  }
}
@media (max-width: 767px) {
  #iwc-member-table td a {
    display: block;
    min-height: 44px;
  }
}

/* Keep official names readable when filtering reduces the table to one row. */
#iwc-member-table {table-layout:fixed;width:100%;min-width:760px}
#iwc-member-table tr > :nth-child(1) {width:18%}
#iwc-member-table tr > :nth-child(2) {width:23%;word-break:normal;overflow-wrap:break-word}
#iwc-member-table tr > :nth-child(3) {width:37%}
#iwc-member-table tr > :nth-child(4) {width:22%}
