/* Owner details and sharing dialog, based on TrainingDetails and TrainingShareDialog. */
[data-ad-profile='overview'][data-ad-state='overviewPublished']
  [data-ad-screen='overview-published'],
[data-ad-profile='overview']:is(
    [data-ad-state='overviewOwnerDetails'],
    [data-ad-state='overviewShare']
  )
  [data-ad-screen='overview-owner'],
[data-ad-profile='organizer']:is([data-ad-state='ownerDetails'], [data-ad-state='share'])
  [data-ad-screen='org-owner'] {
  visibility: visible;
  opacity: 1;
}
.org-ui-primary svg {
  display: block;
  flex-shrink: 0;
}
.share-owner-card {
  padding: 14px;
  gap: 10px;
}
.share-owner-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #d3dfd8;
}
.share-owner-people > div {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 4px;
  border: 1px solid #d3dfd8;
  border-radius: 13px;
  background: #fff;
}
.share-owner-people > div > span {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
}
.share-owner-people svg {
  width: 20px;
  height: 20px;
}
.share-owner-people > div > b {
  font-size: 12px;
  line-height: 18px;
}
.share-owner-count {
  padding: 3px 5px;
  border-radius: 7px;
  background: #d5e6df;
  font-size: 10px;
}
.share-owner-people > div:first-child .share-owner-count {
  background: #b8e04a;
}
.share-owner-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid #d3dfd8;
}
.share-owner-actions > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  line-height: 16px;
}
.share-owner-actions i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d3dfd8;
  border-radius: 11px;
  background: #fff;
}
.share-owner-actions .share-owner-cancel {
  color: #a44232;
}
.share-dialog-layer {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 8;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #142c2466;
}
[data-ad-profile='overview'][data-ad-state='overviewShare'] .share-dialog-layer,
[data-ad-profile='organizer'][data-ad-state='share'] .share-dialog-layer {
  display: flex;
}
.share-dialog {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 90%;
  gap: 12px;
  padding: 20px;
  border: 1px solid #d3dfd8;
  border-radius: 22px;
  background: #fff;
}
.share-dialog-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.share-dialog-header h4 {
  flex: 1;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}
.share-dialog-header > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 36px;
}
.share-dialog .share-dialog-hint {
  font-size: 13px;
  line-height: 19px;
  color: #4a5f56;
}
.share-dialog-preview {
  padding: 12px;
  border: 1px solid #d3dfd8;
  border-radius: 14px;
  background: #fff;
}
.share-dialog-preview pre {
  margin: 0;
  font-family: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 21px;
}
.share-dialog .ad-ui-primary,
.share-dialog .ad-ui-secondary {
  flex-shrink: 0;
  min-height: 42px;
  padding: 9px;
  font-size: 13px;
  line-height: 20px;
}
