/* Customer tab dropdown (see custom.js): hide the built-in tab bar and
   style the <select> that replaces it. */
#myTab {
  display: none !important;
}

#tab-select {
  height: 2.5rem;
  min-width: 16rem;
  max-width: 100%;
  padding: 0 2.5rem 0 1rem;
  border: 1px solid rgb(var(--color-500) / 0.3);
  font-size: 1rem;
  cursor: pointer;
}

/* The open option list is drawn by the browser; give it solid theme colours
   so it stays readable in dark mode. */
#tab-select option {
  background: rgb(var(--color-800));
  color: rgb(var(--color-100));
}

/* No info widgets are configured; hide their empty bar and divider line. */
#information-widgets:not(:has(#widgets-wrap > :not(:empty))) {
  display: none;
}
