* {
  box-sizing: border-box;
}

:host {
  --divider-color: transparent;
}

::slotted([slot="panel"]:not([active])) {
  display: none;
}

.layout {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: min-content auto 1fr;
  max-height: 100%;
}

hr {
  height: 2px;
  width: calc(100% - 4px);
  margin: 0;
  margin-inline: 2px;
  display: block;
  border: none;
  background: var(--divider-color);
}

nav {
  width: 100%;
  padding: 4px;
  overflow: auto;
}

.tablist {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: 1fr;
  grid-auto-columns: max-content;
  grid-gap: 3px;
  list-style: none;
  justify-content: start;
  margin: 1px;

  padding-left: 0;
}

.content {
  padding: 8px;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}
