/* The "copy link to this report" button (Kyle, 2026-08-27) — a PWA launched from the home
   screen has no address bar, so the page has to hand over its own URL.

   Colours come from mkdocs-material's own variables rather than literals, so the button
   follows the theme toggle without this file knowing anything about light or dark. */

.copy-link {
  margin: 2.5rem 0 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--md-default-fg-color--lightest);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
}

.copy-link__btn {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.62em 1.1em;
  cursor: pointer;
  color: var(--md-primary-bg-color);
  background: var(--md-primary-fg-color);
  border: 1px solid var(--md-primary-fg-color);
  border-radius: 0.3rem;
  transition: background-color 125ms, border-color 125ms, opacity 125ms;
  /* Comfortably tappable on a phone, which is where this button exists to be used. */
  min-height: 2.6em;
}

.copy-link__btn:hover {
  opacity: 0.86;
}

.copy-link__btn:focus-visible {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 2px;
}

.copy-link__btn.is-copied {
  color: #fff;
  background: #2e7d32;
  border-color: #2e7d32;
}

.copy-link__status {
  font-size: 0.66rem;
  color: var(--md-default-fg-color--light);
  overflow-wrap: anywhere;
}
