.share-control {
  width: 100%;
  min-width: 0;
  align-self: end;
  justify-self: end;
  margin-block-start: 13px;
}
.share-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 11px;
  border: 1px solid #4c6f9c;
  border-radius: 7px;
  background: #10223c;
  color: #e3efff;
  font: inherit;
  font-size: .875rem;
  font-weight: 620;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.share-action:not(.share-trigger):is(:hover, :focus-visible) {
  border-color: #91bdf4;
  background: #1b3a61;
  color: #fff;
}
.share-trigger {
  display: flex;
  width: 44px;
  margin-inline-start: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #abd0ff;
  list-style: none;
}
.share-trigger:is(:hover, :focus-visible),
.share-control[open] > .share-trigger { color: #fff; }
.share-trigger::-webkit-details-marker { display: none; }
.share-trigger svg {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.share-panel {
  display: grid;
  gap: 7px;
  width: min(100%, 28rem);
  margin-block-start: 8px;
  margin-inline-start: auto;
  padding: 10px;
  border: 1px solid #3b5a7e;
  border-radius: 8px;
  background: #0b192d;
}
.share-control--labeled {
  position: relative;
  width: max-content;
  margin: 0;
}
.share-control--labeled > .share-trigger {
  width: auto;
  margin: 0;
  padding: 6px 11px;
  border: 1px solid #4c6f9c;
  background: #10223c;
  color: #e3efff;
}
.share-control--labeled > .share-trigger:is(:hover, :focus-visible),
.share-control--labeled[open] > .share-trigger {
  border-color: #91bdf4;
  background: #1b3a61;
  color: #fff;
}
.share-control--labeled > .share-panel {
  position: absolute;
  z-index: 8;
  inset-block-start: 100%;
  inset-inline-start: 0;
  width: min(22rem, calc(100vw - 32px));
  max-height: min(55svh, 22rem);
  overflow: auto;
  margin-inline-start: 0;
}
[data-tree-share] > .share-control--labeled { position: static; }
[data-tree-share] > .share-control--labeled > .share-panel { max-width: 100%; }
.tree-quick-actions {
  position: absolute;
  z-index: 6;
  inset-block-start: max(12px, env(safe-area-inset-top));
  inset-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
  display: flex;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}
.tree-quick-actions > * { pointer-events: auto; }
html:not([data-entry-finished]) .tree-quick-actions,
html[data-tree-intro] .tree-quick-actions { visibility: hidden; }
@media (max-width: 640px) {
  .tree-quick-actions { justify-content: space-between; }
}
.news-actions:has(> .share-control) { position: relative; }
.news-actions > .share-control {
  flex: 0 0 44px;
  width: 44px;
  align-self: center;
  margin-block-start: 0;
  margin-inline-start: auto;
}
.news-actions > .share-control > .share-panel {
  position: absolute;
  z-index: 5;
  inset-block-start: 100%;
  inset-inline-end: 0;
}
@media (max-width: 540px) {
  .news-actions:has(> .share-control) > .news-action { min-width: 44px; padding-inline: 7px; }
  .news-actions:has(> .share-control) > .news-action > .news-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
  }
}
.share-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.share-status {
  margin: 0;
  color: #bed7f2;
  font-size: .875rem;
}
.share-status:empty, .share-address[hidden] { display: none; }
.share-address {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #5b7a9e;
  border-radius: 6px;
  background: #081323;
  color: #eef6ff;
  font: inherit;
  font-size: .875rem;
}
