/* Urlaub im Team mit Vertretung (Build 400), gehört zu team-urlaub.js.
   Eine Regel je Form: Person = Kreis mit Kürzel und Name, Vertretung = dieselbe
   Pille in Mint, Zeitraum = Pille mit Rand, Anzahl = Kreis. */
.tu-tag{display:inline-flex;align-items:center;min-height:28px;padding:2px 11px;border-radius:99px;
  box-shadow:inset 0 0 0 1px var(--n-linie-fest);font-size:.8rem;font-weight:600;line-height:1.2;color:var(--n-tinte-weich);white-space:nowrap}
.pille-person.team.tu-vt{background:var(--n-mint)}
.pille-person.team.tu-vt i{background:var(--n-karte)}

.tu-eintrag{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0 0 14px}
.tu-eintrag .aktion{flex:none;margin-left:auto}
.tu-felder{display:grid;grid-template-columns:1fr 1fr 1.6fr;gap:12px;max-width:560px}
.tu-felder .feld{margin-bottom:0;min-width:0}
.tu-felder input,.tu-felder select{width:100%;min-height:44px}
.tu-orte{display:flex;flex-wrap:wrap;gap:8px;padding-top:12px}
.tu-ort{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 0 0 14px;border-radius:99px;
  background:var(--n-karte);box-shadow:inset 0 0 0 1px var(--n-linie-fest);font-size:.9rem;font-weight:600;color:var(--n-tinte);cursor:pointer}
.tu-ort.ab{background:var(--n-mint);box-shadow:none}
.tu-form .aktionen .aktion{flex:none}
.tu-ort b{font-weight:700;color:var(--n-tinte-mittel)}
.tu-ort select{appearance:none;-webkit-appearance:none;border:0;background:transparent;font:inherit;font-weight:600;color:inherit;
  min-height:44px;padding:0 30px 0 0;border-radius:0 99px 99px 0;cursor:pointer}
.tu-ort:not(.ab) select{width:30px;color:transparent}
.tu-ort::after{content:'';position:absolute;right:14px;top:50%;width:6px;height:6px;margin-top:-5px;
  border-right:2px solid var(--n-tinte-mittel);border-bottom:2px solid var(--n-tinte-mittel);transform:rotate(45deg);pointer-events:none}
.tu-ort:focus-within{outline:2px solid var(--green);outline-offset:2px}
.tu-ort select:focus{outline:none}

.tu-band{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 14px}
.tu-fuer{display:inline-flex;align-items:center;gap:8px}
.tu-zahl{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;box-sizing:border-box;border-radius:99px;
  background:var(--n-tief);color:#fff;font-size:.75rem;font-weight:700}

@media (max-width:640px){
  .tu-felder{grid-template-columns:1fr 1fr}
  .tu-felder .feld:last-child{grid-column:1 / -1}
  .tu-eintrag .aktion{margin-left:0}
}
