html body[data-page] .workspace .filter-sidebar .recruitment-period {
  container: period-filter / inline-size;
  min-width: 0;
  font-size: 1.25rem;
}
html body[data-page] .workspace .filter-sidebar .recruitment-period .period-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
html body[data-page] .workspace .filter-sidebar .recruitment-period .month-selects {
  --period-year-width: max(5rem, calc(4ch + 1.4em + 2px));
  --period-month-width: max(3.5rem, calc(2ch + 1.4em + 2px));
  --period-gap: clamp(0px, calc((100cqw - var(--period-year-width) - var(--period-month-width) - 2em) / 3), .1875rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  gap: .25em var(--period-gap);
  font-size: inherit;
  line-height: 1.25;
}
html body[data-page] .workspace .filter-sidebar .recruitment-period .period-field {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  column-gap: var(--period-gap);
  white-space: nowrap;
}
html body[data-page] .workspace .filter-sidebar .recruitment-period .period-unit {
  flex: 0 0 1em;
  white-space: nowrap;
}
html body[data-page] .workspace .filter-sidebar .recruitment-period .month-selects select {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  box-sizing: border-box;
  max-width: none;
  height: 1.5em;
  padding: 0 .95em 0 .25em;
  font: inherit;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2329252f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .25em center;
  background-size: .6em .4em;
}
html body[data-page] .workspace .filter-sidebar .recruitment-period .month-selects select[data-period$="Year"] {
  width: var(--period-year-width);
  min-width: var(--period-year-width);
}
html body[data-page] .workspace .filter-sidebar .recruitment-period .month-selects select[data-period$="Month"] {
  width: var(--period-month-width);
  min-width: var(--period-month-width);
}
@container period-filter (min-width: 22em) {
  html body[data-page] .workspace .filter-sidebar .recruitment-period .period-range {
    grid-template-columns: max-content max-content max-content;
    align-items: center;
    column-gap: .5em;
  }
}
