/* TreeTag: Baum-Arbeitsansicht mit Reitern */

.tt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px;
  margin-bottom: 22px;
  background: #edf5ee;
  border-radius: 13px;
}

.tt-tab-button {
  display: inline-block;
  width: auto;
  flex: 1 1 auto;
  padding: 11px 15px;
  background: #fff;
  border: 1px solid #c5ddca;
  border-radius: 9px;
  color: #194734;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.tt-tab-button:hover {
  background: #e0efe3;
}

.tt-tab-button.active {
  background: #176440;
  color: #fff;
  border-color: #176440;
}

.tt-tab-button:focus-visible {
  outline: 3px solid #4ea76f;
  outline-offset: 2px;
}

.tt-tab-content {
  min-width: 0;
}

.tt-tab-content[hidden] {
  display: none !important;
}

.tt-tab-content > .qrbox,
.tt-tab-content > .panel {
  margin: 0 0 18px;
}

.tt-tab-content > form {
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .tt-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tt-tab-button {
    width: 100%;
    padding: 10px 8px;
    font-size: 13px;
  }
}
