/* ─── Locked features ────────────────────────────────────────────────────────
   A feature the plan doesn't include is shown, not hidden: a merchant who can't
   see a feature has no way to know it exists. The crown is the single marker for
   "not on your plan", so it means the same thing in the nav, on a section header
   and beside a disabled control.

   Deliberately NOT `opacity` on the whole row: that would fade the crown too,
   which is the one part that must stay legible. The label dims, the crown does
   not. */
.crown-icon {
  flex: none;
  color: var(--amber, #b7791f);
}

/* The same crown on the shared tier badge, so "not on your plan" looks identical
   whether it appears in the nav, on the Export bulk button, on the Draft Orders
   tab or on a locked schedule trigger.

   Done as a mask on ::before rather than by putting an SVG in the markup: this
   badge is 9.5px uppercase and, on trigger cards, absolutely positioned in a
   corner. An inline <svg> would have to fight both of those in three call sites.
   currentColor via mask keeps it matching whatever colour the badge already uses. */
.trig-lock::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 3px;
  vertical-align: -1px;
  background-color: currentColor;
  -webkit-mask: var(--crown-mask) center / contain no-repeat;
  mask: var(--crown-mask) center / contain no-repeat;
}

:root {
  --crown-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3 8.2c.5 0 .9.4.9.9 0 .3-.1.5-.3.7l2.1 6.9h12.6l2.1-6.9a1 1 0 0 1-.3-.7c0-.5.4-.9.9-.9s.9.4.9.9c0 .4-.3.8-.7.9L19.4 19H4.6L2.8 10c-.4-.1-.7-.5-.7-.9 0-.5.4-.9.9-.9z'/%3E%3Cpath d='M12 5.6 15.2 12H8.8z'/%3E%3Ccircle cx='12' cy='4.4' r='1.5'/%3E%3C/svg%3E");
}

