.card {
  border-width: 0;
  border-radius: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 0;
}

.card:hover {
  background-color: var(--colors-gray-100);
}

.card:active,
.card:focus {
  background-color: var(--colors-gray-200);
}

.card.elevated {
  box-shadow:
    0px 2px 1px -1px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14),
    0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}

.card.outlined {
  border-width: 1px;
  border-color: rgba(0, 0, 0, 0.12);
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.card.full {
  margin: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-right: 0;
  border-bottom: 1px rgba(0, 0, 0, 0.12) solid;
  border-left: 0;
  border-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.card.full:first-child {
  border-top: 1px rgba(0, 0, 0, 0.12) solid;
}

.card.full:last-child {
  border-bottom: 0;
}

.card.fullFlush {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.card.fullFlush:last-child {
  border-bottom: 0;
}

.card.searchResult {
  box-shadow:
    0px 2px 1px -1px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14),
    0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}
.card.searchResult.selected {
  background-color: var(--colors-gray-100);
}

.card.searchResult:focus-visible {
  outline: none;
}

.card.searchResult:hover mark {
  text-decoration: underline;
}

.card.searchResult mark {
  background-color: initial;
  color: var(--colors-blue-300);
}

.paper {
  border-width: 0;
  border-radius: 4px;
  box-shadow: 0;
}

.paper.paper--raised {
  background-color: #fff;
  box-shadow:
    0 1.6px 3.6px 0 rgba(255, 255, 255, 0.132),
    0 0.3px 0.9px 0 rgba(255, 255, 255, 0.108);
}

a.link-box {
  flex-direction: initial;
  width: 100%;
  font-size: 0.8rem;
  text-align: center;
}

a.link-box > div {
  display: flex;
  margin-bottom: 0.25rem;
  padding: 0.25rem;
  border-width: 1px;
  border-radius: 6px;
}

a.link-box > div:hover {
  background-color: var(--colors-gray-200);
  cursor: pointer;
}
a.link-box > div:active {
  background-color: var(--colors-gray-300);
}
a.link-box > div:focus {
  background-color: var(--colors-gray-300);
}
a.link-box > div:first-item {
  margin-top: 1rem;
}
a.link-box > div:last-item {
  margin-bottom: 1rem;
}

.table-of-contents {
  z-index: 9999;
  position: sticky;
  top: 70px;
  flex-shrink: 0;
  max-height: calc(100vh - 50px - 2rem);
  margin-left: 0;
  padding-left: 0.5rem;
  overflow-y: auto;
}

@media (max-width: 60em) {
  .table-of-contents {
    display: none;
    position: relative;
    top: initial;
  }
}

@media screen and (min-width: 60em) {
  .table-of-contents {
    z-index: 0;
    height: auto !important;
  }
}

.table-of-contents.grid-with-sidebar {
  grid-row: 1;
  grid-column: 2;
  width: auto;
  max-width: 275px;
}

.table-of-contents h1,
.table-of-contents h2,
.table-of-contents h3,
.table-of-contents h4,
.table-of-contents h5,
.table-of-contents h6 {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--fonts-paragraph);
}

.table-of-contents ul {
  padding: 0;
}

.table-of-contents ul ul:not(.open) {
  display: none;
}
.table-of-contents ul li {
  list-style: none;
}
.table-of-contents ul a {
  display: block;
  padding-left: 8px;
  overflow: hidden;
  border-left: 2px solid transparent;
  font-weight: normal;
  font-size: 14px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-of-contents ul a:hover,
.table-of-contents ul a:active {
  border-left: 2px solid rgba(0, 120, 212, 0.3);
}
.table-of-contents ul a.active {
  border-left: 2px solid #0078d4;
}

.table-of-contents .heading {
  padding-bottom: 0.25rem;
  font-weight: 500;
  font-size: 1rem;
  text-align: "initial";
}

table-of-contents > div {
  padding-top: 1rem;
}

table-of-contents > div:first-child {
  padding-top: 0;
}
table-of-contents > div:last-child {
  padding-bottom: 0;
}

.avatar {
  display: inline-flex;
  position: relative;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-weight: medium;
  text-align: center;
  text-transform: uppercase;
}
.avatar__container {
}
.avatar__excessLabel {
}
.avatar__label {
  width: 50px;
  height: 50px;
  background-color: var(--colors-gray-100);
  font-size: 24px;
  line-height: 50px;
  text-align: center;
}

/* container: { */
/*   width: size, */
/*   height: size, */
/*   fontSize: `calc(${themeSize ?? size} / 2.5)`, */
/* }, */
/* excessLabel: { */
/*   width: size, */
/*   height: size, */
/* }, */
/* label: { */
/*   fontSize: `calc(${themeSize ?? size} / 2.5)`, */
/*   lineHeight: size !== "100%" ? themeSize ?? size : undefined, */
/* }, */
/*  */

.icon {
  display: inline-flex;
  position: relative;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-width: 0;
  border-color: white;
  background-color: var(--colors-gray-400);
  color: white;
  font-weight: medium;
  text-align: center;
  text-transform: uppercase;
  vertical-align: "top";
}
.icon.showBorder {
  border-width: 2px;
}

.icon.sm {
  width: 6px;
  height: 6px;
  font-size: var(--fontSizes-xs);
  line-height: var(--space-6);
}

.icon.sm {
  width: 8px;
  height: 8px;
  font-size: var(--fontSizes-sm);
  line-height: var(--space-8);
}

.icon.md {
  width: 12px;
  height: 12px;
  font-size: var(--fontSizes-md);
  line-height: var(--space-12);
}

.icon.lg {
  width: 16px;
  height: 16px;
  font-size: var(--fontSizes-lg);
  line-height: var(--space-16);
}

.icon.xl {
  width: 24px;
  height: 24px;
  font-size: var(--fontSizes-xl);
  line-height: var(--space-24);
}

.icon.2xl {
  width: 32px;
  height: 32px;
  font-size: var(--fontSizes-2xl);
  line-height: var(--space-32);
}

.rounded,
.rounded img {
  border-radius: var(--border-radius-md);
}
.circle,
.circle img {
  border-radius: full;
}
.square,
.square img {
  border-radius: 0;
}

.chakra-avatar__badge {
  display: flex;
  position: absolute;
  bottom: 0;
  align-items: center;
  justify-content: center;
  inset-block-end: 0;
  inset-inline-end: 0;
}
