/* Floating panel shells. */
/* floating panels */
.fpanel {
  position: relative;
  background: var(--panel);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.inspector .panels {
  border-radius: 14px;
}
.fp-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 8px 6px 14px;
  border-bottom: 1px solid var(--line);
}
.fp-head h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.fp-head .ct {
  font-family: var(--f-ui);
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
  color: var(--text-3);
}
.left {
  width: var(--lw);
}
.rcol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: var(--rw);
  min-height: 0;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
  align-self: stretch;
}
.tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 28px;
  padding: 0 6px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.tab:hover {
  color: var(--text);
  background: var(--panel-2);
}
.tab[aria-selected='true'] {
  background: var(--text);
  color: var(--panel);
}
.tab .bd {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.tab .bd.reg {
  background: var(--region);
}
.tab .bd.num {
  width: auto;
  height: 15px;
  min-width: 15px;
  padding: 0 4px;
  border-radius: 8px;
  font-family: var(--f-ui);
  font-variant-numeric: tabular-nums;
  font-size: 9.5px;
  line-height: 15px;
  text-align: center;
  color: #fff;
  font-weight: 600;
}
.tab[aria-selected='true'] .bd.num {
  background: var(--accent);
}
