/* Canonical responsive attendance filters and month controls. */
.att-role-controls {
  padding: 16px 18px;
  margin-bottom: 16px;
}
.att-controls-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 14px;
  align-items: end;
}
.att-controls-line label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  min-width: 0;
  width: 100%;
  margin: 0;
}
.att-controls-line > label:only-of-type {
  grid-column: 1/-1;
}
.att-controls-line label span {
  padding-left: 3px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #777c80;
}
.att-controls-line select {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 56px;
  min-height: 56px;
  border: 1.5px solid #deded9;
  border-radius: 16px;
  background-color: #fff;
  color: #111;
  padding: 0 44px 0 16px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: none;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}
.att-controls-line select:hover {
  border-color: #c7c7c1;
}
.att-controls-line select:focus,
.att-controls-line select:focus-visible {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(255, 229, 0, 0.28);
}
.att-month-nav {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
}
.att-month-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  min-width: 0;
  border: 1.5px solid #deded9;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
  overflow: visible;
  white-space: nowrap;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.12s ease;
}
.att-month-nav button:nth-child(2) {
  padding: 0 16px;
  font-size: 14px;
}
.att-month-nav button:hover {
  border-color: #bbb;
  background: #fafafa;
}
.att-month-nav button:active {
  transform: scale(0.985);
}
.att-month-nav button:focus-visible {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(255, 229, 0, 0.25);
}

@media (max-width: 720px) {
  .att-role-controls {
    padding: 14px 14px 15px;
    border-radius: 22px;
  }
  .att-controls-line {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .att-controls-line > label,
  .att-controls-line > label:only-of-type {
    grid-column: 1;
    width: 100%;
    min-width: 0;
  }
  .att-controls-line label {
    gap: 6px;
  }
  .att-controls-line label span {
    font-size: 9px;
    padding-left: 2px;
  }
  .att-controls-line select {
    width: 100%;
    max-width: none;
    height: 56px;
    min-height: 56px;
    border-radius: 15px;
    padding: 0 44px 0 15px;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
  .att-month-nav {
    grid-column: 1;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    gap: 8px;
    margin-top: 1px;
  }
  .att-month-nav button {
    height: 50px;
    border-radius: 15px;
    font-size: 17px;
  }
  .att-month-nav button:nth-child(2) {
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .att-role-controls {
    padding-left: 12px;
    padding-right: 12px;
  }
  .att-month-nav {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }
}


@media(max-width:1050px){.att-controls-line select{contain:layout inline-size}}
