.record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.record-actions a, .record-actions button { min-height: 44px; display: inline-flex; align-items: center; }
.record-actions input { flex-basis: 100%; width: 100%; min-width: 0; }
.record-actions input[hidden] { display: none; }
.record-flag-note { font-size: 13px; max-width: 80ch; }
.record-actions[hidden], [hidden] { display: none !important; }

/* Match the neighbouring text links without inheriting the global button box. */
.record-actions button.secondary {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--link);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.record-actions button.secondary:hover {
  background: transparent;
  color: var(--rise-navy);
  text-decoration: underline;
}
.record-actions button.secondary:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}
