/* Stamp — the two-state status vocabulary of the public-record system.
   Source: index.html lines 159–161 (.stamp / .stamp.live / .stamp.prep).

   There are exactly two states, and the distinction is substantive:
     live — we hold the records
     prep — the records are on the public record but not yet obtainable
   Do not add a third color. If you need a third meaning, write a clearer label.

   Styling comes from ui_kits/app/app.css. This component emits class names only —
   it never inlines a token value. */
function Stamp({ state = 'live', children }) {
  return <span className={`stamp ${state === 'prep' ? 'prep' : 'live'}`}>{children}</span>;
}

/* Loaded as a browser script by index.html, so expose the global explicitly. */
window.Stamp = Stamp;
