
@media (max-width: 767.98px) {
  .share-sheet-host {
    position: relative;
  }

  .share-sheet-host > .share-sheet-toggler {
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    margin: 0;
    z-index: 2;
  }

  .share-sheet-host h1,
  .share-sheet-host .breadcrumb,
  .share-sheet-host nav ol {
    padding-right: 2.75rem;
  }
}
.share-sheet-toggler {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #C5D0E1;
  border-radius: 4px;
  cursor: pointer;
}

.share-sheet-toggler > span {
  display: none;
}

.share-sheet-toggler::before {
  content: "";
  width: 16px;
  height: 4px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 4'%3e%3cg fill='%23212133'%3e%3ccircle cx='2' cy='2' r='1.75'/%3e%3ccircle cx='8' cy='2' r='1.75'/%3e%3ccircle cx='14' cy='2' r='1.75'/%3e%3c/g%3e%3c/svg%3e") center / contain no-repeat;
}

.share-sheet-toggler:hover {
  background: #F2F3F7;
}

.share-sheet-toggler:focus-visible {
  outline: 2px solid #212133;
  outline-offset: 2px;
}

.offcanvas.offcanvas-bottom.share-sheet {
  height: auto !important;
  max-height: 70vh;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: #fff;
}

.share-sheet .share-sheet__handle {
  display: block;
  width: 60px;
  height: 5px;
  margin: 12px auto 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #C5D0E1;
  cursor: pointer;
}

.share-sheet .offcanvas-body {
  padding: 1rem 1.5rem 2rem;
}

.share-sheet h2.share-sheet__title {
  margin: 0.5rem 0 1rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.3;
  text-align: center;
}

.share-sheet ul.share-sheet__grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 0.5rem;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  list-style: none !important;
}

.share-sheet ul.share-sheet__grid > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.share-sheet ul.share-sheet__grid > li::before,
.share-sheet ul.share-sheet__grid > li::marker {
  content: none;
  display: none;
}

.share-sheet .share-sheet__grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  text-align: center;
  text-decoration: none !important;
}

.share-sheet .share-sheet__grid svg {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px;
  flex: 0 0 auto;
}

.share-sheet .share-sheet__file {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 26px;
  height: 32px;
  padding-bottom: 3px;
  border: 2px solid currentColor;
  border-radius: 3px 10px 3px 3px;
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1;
}

.share-sheet-toggler,
.share-sheet h2.share-sheet__title,
.share-sheet .share-sheet__grid a,
.share-sheet .share-sheet__grid a:visited,
.share-sheet .share-sheet__grid a:hover,
.share-sheet .share-sheet__grid a:focus,
.share-sheet .share-sheet__grid svg,
.share-sheet .share-sheet__file {
  color: #212133 !important;
}

@media (min-width: 768px) {
  .share-sheet-toggler,
  .share-sheet {
    display: none !important;
  }
}
