/* Global UI scale-down: the SLATE Bootstrap theme sizes most spacing,
   font-size, and control padding in rem, so reducing the root font-size
   shrinks buttons, cards, tabs, labels, and form controls proportionally
   across the whole app without touching every component individually.
   Does not affect Plotly graphs (sized via viewport units) or the KSBL
   logo (fixed px width). */
:root {
  --sidebar-width: clamp(16rem, 22vw, 22rem);
  --dashboard-helper-color: #b9c3ce;
}

html {
  font-size: 80%;
}

.dashboard-helper-text {
  color: var(--dashboard-helper-color);
}

.dashboard-nav.nav-pills .nav-link.active {
  background: #343e49;
  box-shadow: inset 3px 0 #9bcaff;
  color: #f8f9fa;
}

.methodik-content blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1.25rem;
  border-left: 4px solid #91a0ae;
  background-color: #272b30;
  color: #e2e6ea;
  border-radius: 0 0.25rem 0.25rem 0;
}

.methodik-content blockquote > :last-child {
  margin-bottom: 0;
}

.small-control .Select-control,
.small-control .Select__control {
  min-height: 28px !important;
  height: 28px !important;
  font-size: 0.9rem !important;
}

.small-control .Select-value-icon,
.small-control .Select__multi-value__remove {
  line-height: 20px;
}

.small-control .Select-value-label,
.small-control .Select__single-value,
.small-control .Select__placeholder,
.small-control .Select__input-container {
  font-size: 0.9rem !important;
}

.small-control .Select-placeholder,
.small-control .Select-input input {
  font-size: 0.9rem;
}

.small-control .Select--multi .Select-value,
.small-control .Select__multi-value {
  padding: 2px 4px;
  margin: 2px 3px;
}

.dot-preset-panel > summary {
  cursor: pointer;
  width: fit-content;
}

.dot-chart {
  height: clamp(360px, 62vh, 740px);
}
