.team-vacations { min-width: 0; container-type: inline-size; }
.team-vacation-tabs { gap: .3rem 1.5rem; }
.team-vacation-tabs button { padding: .65rem 0; }
.team-vacation-count { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.team-vacation-filters {
  display: flex; align-items: end; gap: .65rem 1rem; flex-wrap: wrap; margin: 1rem 0;
}
.team-vacation-filters label { display: grid; gap: .2rem; min-width: 0; font-size: .82rem; color: var(--muted); }
.team-vacation-filters input { width: min(18rem,100%); }
.team-vacation-filters select { max-width: 18rem; }
.team-vacation-refresh { align-self: end; justify-self: start; margin-inline-start: auto; }
.team-vacation-filters[hidden],.team-vacation-filters label[hidden],.team-vacation-table[hidden],.team-vacation-message:empty { display: none; }
.team-vacation-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: start; font-size: .93rem; }
.team-vacation-table th,.team-vacation-table td {
  padding: .8rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere;
}
.team-vacation-table th { font-weight: 500; text-align: start; color: var(--muted); font-size: .82rem; }
.team-vacation-table th:nth-child(1),.team-vacation-table th:nth-child(3) { width: 23%; }
.team-vacation-table th:nth-child(2) { width: 24%; }
.team-vacation-table tr>:first-child { padding-inline-start: 0; }
.team-vacation-table tr>:last-child { padding-inline-end: 0; }
.team-vacation-table td>small { display: block; margin-top: .28rem; color: var(--muted); font-size: .8rem; }
.team-vacation-table td>button { display: block; }
.team-vacation-table td>button+button { margin-top: .35rem; }
.team-vacation-table [data-status=approved],.team-vacation-table [data-status=registered] { color: light-dark(#16743b,#87dca4); }
.team-vacation-routing,.team-vacation-table [data-status=rejected] { color: light-dark(#9c3737,#f5a5a5); }
@container (max-width: 47rem) {
  .team-vacation-table,.team-vacation-table tbody { display: block; }
  .team-vacation-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .team-vacation-table tr {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem 1rem;
    border-bottom: 1px solid var(--line); padding: 1rem 0;
  }
  .team-vacation-table td { padding: 0; border: 0; min-width: 0; }
  .team-vacation-table td:first-child,.team-vacation-table td:last-child { grid-column: 1/-1; }
  .team-vacation-table td:first-child { font-weight: 550; }
  .team-vacation-table td:first-child small { font-weight: normal; }
  .team-vacation-table td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: .8rem; }
  .team-vacation-table td:last-child { display: flex; gap: .35rem 1rem; flex-wrap: wrap; }
  .team-vacation-table td:last-child:empty { display: none; }
  .team-vacation-table td>button+button { margin-top: 0; }
}
@container (max-width: 32rem) {
  .team-vacation-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .team-vacation-filters input { grid-column: 1/-1; }
  .team-vacation-filters input,.team-vacation-filters select { width: 100%; max-width: 100%; }
  .team-vacation-tabs { gap: .25rem .9rem; }
}
