/* ATRIUM SIGNAGE – KOMPAKTE TESTOBERFLÄCHE */

body header {
  padding: 14px clamp(16px, 3vw, 38px) !important;
}

body header h1 {
  font-size: clamp(1.35rem, 2vw, 1.65rem) !important;
  margin: 0 0 5px !important;
}

body header p {
  font-size: .9rem;
  margin: 0 0 10px !important;
}

body header a {
  font-size: .85rem;
}

body main {
  max-width: 1120px !important;
  width: calc(100% - 32px) !important;
  margin: 20px auto 50px !important;
}

body main .cards {
  gap: 12px !important;
  margin-bottom: 18px !important;
}

body main .card {
  padding: 12px 17px !important;
  box-shadow: none !important;
  min-height: 90px;
}

body main .card .number {
  font-size: 1.65rem !important;
  line-height: 1.2;
}

body main details.atrium-category {
  background: var(--at-panel) !important;
  border: 1px solid var(--at-border) !important;
  border-radius: 12px !important;
  margin: 0 0 10px !important;
  overflow: hidden;
}

body main details.atrium-category > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 12px 17px !important;
  list-style: none;
  border: 0 !important;
  margin: 0 !important;
}

body main details.atrium-category > summary::-webkit-details-marker {
  display: none;
}

body main details.atrium-category > summary:hover {
  background: var(--at-panel-hover);
}

body main .atrium-category-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .98rem;
  font-weight: 700;
}

body main .atrium-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(169,154,255,.14);
  color: #c6bbff;
  font-size: 18px;
}

body main .atrium-category-hint {
  font-size: 0 !important;
}

body main .atrium-category-hint::after {
  content: "⌄";
  display: inline-block;
  font-size: 25px;
  line-height: 1;
  color: #c6bbff;
  transition: transform .15s ease;
}

body main details.atrium-category[open]
  .atrium-category-hint::after {
  transform: rotate(180deg);
}

body main details.atrium-category[open] > summary {
  border-bottom: 1px solid var(--at-border) !important;
}

body main .atrium-category-content {
  padding: 16px 18px 20px !important;
}

body main .atrium-category-content table {
  width: 100%;
}

body main .atrium-category-content th,
body main .atrium-category-content td {
  padding: 10px 12px;
}

@media (max-width: 760px) {
  body main .cards {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  body main .card {
    padding: 10px !important;
    min-height: 80px;
  }

  body main .card .number {
    font-size: 1.4rem !important;
  }

  body main .atrium-category-content {
    padding: 12px !important;
    overflow-x: auto;
  }
}
