.tempo-share-control {
  position: relative;
  flex: 0 0 auto;
  margin-inline-start: auto;
}
.tempo-console .tempo-share-control > .tempo-share {
  margin-inline-start: 0;
  min-height: 44px;
  padding-inline: 14px;
  border-color: var(--ui-border);
  background: var(--ui-fill);
  color: var(--ui-text);
}
.tempo-console .tempo-share-control > .tempo-share:hover,
.tempo-console .tempo-share-control > .tempo-share[aria-expanded="true"] {
  border-color: var(--ui-accent);
  background: var(--ui-selected);
}
.tempo-share-panel {
  position: absolute;
  z-index: 3;
  inset-block-end: calc(100% + 8px);
  inset-inline-end: 0;
  width: min(248px, calc(100vw - 48px));
  padding: 11px;
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: var(--ui-bg);
  color: var(--ui-text);
  box-shadow: 0 14px 36px #0008;
  font-size: 12px;
}
.tempo-share-panel[hidden] {
  display: none;
}
.tempo-share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding-inline-start: 8px;
}
.tempo-share-header strong {
  font-size: 13px;
}
.tempo-share-actions {
  display: grid;
  gap: 4px;
  margin-block-start: 5px;
}
.tempo-console .tempo-share-actions :is(a, button) {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--ui-text);
  font-size: inherit;
  line-height: 1.25;
  text-align: start;
  text-decoration: none;
}
.tempo-console .tempo-share-actions :is(a, button):hover {
  border-color: var(--tempo-rule, var(--ui-border));
  background: var(--ui-hover);
}
.tempo-share-control :is(a, button, input):focus-visible {
  outline: 2px solid var(--ui-accent);
  outline-offset: 2px;
}
.tempo-share-url {
  width: 100%;
  margin-block-start: 8px;
  padding: 7px 8px;
  border: 1px solid var(--tempo-rule, var(--ui-border));
  border-radius: 6px;
  background: var(--ui-hover);
  color: var(--ui-text);
  font: inherit;
}
.tempo-share-status:not(:empty) {
  margin-block-start: 7px;
  padding-inline: 8px;
  color: var(--ui-accent);
}
@media (pointer: coarse) {
  .tempo-console .tempo-share-actions :is(a, button) {
    min-height: 44px;
  }
}
