/* Video management tabs wrap without a nested scrollbar. */
.nv-admin .nv-tabs {
  flex-wrap: wrap;
  overflow: visible;
  row-gap: 0;
}
.nv-editor .nv-family-field { margin-bottom: 20px; }
.nv-editor .nv-family-picker { position: relative; }
.nv-editor .nv-family-picker > label { margin-bottom: 8px; }
.nv-family-input {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce3ed;
  border-radius: 5px;
  padding: 0 12px;
  background: #fff;
  color: #909bab;
}
.nv-family-input:focus-within { border-color: #e60012; box-shadow: 0 0 0 2px #e600120d; }
.nv-editor .nv-family-input > input {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  outline: none;
  color: #536277;
  font-size: 16px;
  font-weight: 600;
}
.nv-family-input > svg { flex-shrink: 0; }
.nv-editor .nv-family-options {
  position: absolute;
  z-index: 10;
  inset: calc(100% + 5px) 0 auto;
  max-height: min(260px, 35dvh);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #dce3ed;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 24px #20354c1a;
  padding: 5px;
}
.nv-editor .nv-family-options > button {
  display: block;
  width: 100%;
  padding: 11px 12px;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
  color: #536277;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.nv-editor .nv-family-options > button:hover,
.nv-editor .nv-family-options > button.active,
.nv-editor .nv-family-options > button[aria-selected="true"] { background: #fff0f2; color: #e60012; }
.nv-editor .nv-family-options > button[aria-disabled="true"] { color: #9aa4b3; background: #f7f8fa; cursor: not-allowed; }
.nv-editor .nv-family-options > p { padding: 12px; color: #909bab; font-size: 14px; }
