/*
 * Copyright 2017 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

.widget:has(.object-popover-tree) {
  padding: 0;
  border-radius: var(--sys-shape-corner-extra-small);
}

.object-popover-content {
  display: flex;
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  flex-direction: column;
}

.object-popover-title {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-weight: bold;
  padding-left: 18px;
  padding-bottom: 2px;
  padding-top: var(--sys-size-3);
  flex-shrink: 0;
}

.object-popover-tree {
  border-top: 1px solid var(--sys-color-divider);
  overflow: auto;
  width: 100%;
  height: calc(100% - 13px);
}

.object-popover-container {
  display: inline-block;
}

.object-popover-description-box {
  padding: 6px;
  max-width: 350px;
  line-height: 1.4;
}

.object-popover-footer {
  margin-top: 8px;
}
