/* Back link — the "← Back to X" control that returns a page to wherever it was opened
 * from (ISH-835).
 *
 * These exact rules were duplicated character-for-character in broker.html and
 * implementation-detail.html, and manage-flags.html carried a third copy inlined on the
 * element itself. js/return-nav.js resolves *where* back goes; this styles it.
 *
 * Scope is deliberately the base control only. broker.html composes three further variants
 * around this class — .back-link--results, .back-link--new, plus .back-nav-group and
 * .back-nav-sep for its two-link "Back to Results | New Search" row — and those stay in
 * broker.html because exactly one page uses them. There is no duplication there to solve,
 * and lifting them would make this file claim to be shared code that nothing else shares.
 * If a second host ever needs them, move them here rather than copying them.
 *
 * The margin is on the control rather than its container because two of the four hosts sit
 * it directly above a heading; broker.html overrides it inline where the hero owns spacing.
 *
 * Hosts: broker.html, implementation-detail.html, notifications.html, manage-flags.html.
 * Required custom properties: --text-secondary, --red (both from css/tokens.css, which every
 * host already links — js/tokens-parity.test.js fails any host whose values disagree).
 */

.back-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 1rem;
}

.back-link:hover {
  color: var(--red);
}
