.discovery-filter-group input,
.discovery-filter-group select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  outline: none;
}

.discovery-filter-group input:focus,
.discovery-filter-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 107, 73, 0.1);
}

.discovery-filter-group small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.salary-value {
  overflow-wrap: anywhere;
}

/* Match the existing province control, including mobile input sizing. */
.discovery-filter-group h4 {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.discovery-picker { position: relative; min-width: 0; }
.discovery-picker.is-open { z-index: 30; }
.filters-panel .discovery-select-trigger,
.discovery-filter-group .discovery-search-box input {
  width: 100%; min-width: 0; min-height: 42px; margin: 0;
  padding: 9px 34px 9px 10px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--ink);
  font-family: inherit; font-size: 12px; font-weight: 400; line-height: 1.4;
  text-align: left;
}
.filters-panel .discovery-select-trigger { display: flex; align-items: center; cursor: pointer; }
.discovery-selected-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discovery-chevron {
  position: absolute; right: 13px; top: 16px; width: 7px; height: 7px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); pointer-events: none;
}
.discovery-picker.is-open .discovery-chevron { top: 19px; transform: rotate(225deg); }
.filters-panel .discovery-select-trigger:focus-visible,
.discovery-filter-group .discovery-search-box input:focus {
  outline: none; border-color: #8fb39a; box-shadow: 0 0 0 3px #145b420d;
}
.discovery-select-popup {
  position: absolute; left: 0; top: calc(100% + 6px); width: 100%; min-width: 0;
  overflow: hidden; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(17, 61, 45, .14);
}
.discovery-search-box { padding: 8px; border-bottom: 1px solid var(--line); }
.discovery-filter-group .discovery-search-box input { padding-right: 10px; }
.discovery-options { max-height: 248px; overflow-y: auto; overscroll-behavior: contain; padding: 4px; }
.filters-panel .discovery-option {
  display: flex; align-items: flex-start; gap: 8px; width: 100%; min-height: 36px;
  padding: 8px; margin: 0; border: 0; background: #fff; color: var(--ink);
  font-family: inherit; font-size: 12px; font-weight: 400; line-height: 1.5; text-align: left;
  cursor: pointer;
}
.discovery-option-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.discovery-option-count { flex: none; color: var(--muted); font-size: 11px; padding-top: 1px; }
.filters-panel .discovery-option.is-highlighted { background: #f1f6f3; }
.filters-panel .discovery-option[aria-selected="true"] { background: #e8f4ed; color: #075d3e; }
.discovery-picker-status { padding: 8px 10px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); line-height: 1.5; }
.filters-panel .discovery-picker-status button { background: transparent; padding: 0; border: 0; font: inherit; color: var(--green); }
@media (min-width: 761px) {
  .table-filter-toolbar .discovery-select-trigger { min-height: 38px; }
}
@media (max-width: 760px) {
  .filters-panel .discovery-select-trigger,
  .discovery-filter-group .discovery-search-box input { min-height: 46px; font-size: 16px; }
  .filters-panel .discovery-option { min-height: 44px; font-size: 16px; }
}

.card-time .salary-value {
  color: #075d3e;
  background: #e9f6ee;
  border: 1px solid #c7e2d1;
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .discovery-filter-group input,
  .discovery-filter-group select {
    min-height: 46px;
  }
}
