/* "Using:" line under Generate (static/js/active_modes.js). Every rule is under .am-line. */
.am-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 8px;
  font-size: .72rem;
  line-height: 1.45;
  color: var(--muted);
  min-width: 0;
}
.am-line[hidden] { display: none; }
.am-line .am-lead { color: var(--muted); }
.am-line .am-item { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
.am-line .am-val { color: var(--dim); overflow-wrap: anywhere; }
.am-line .am-sep { color: var(--muted); }
.am-line .am-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0 4px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.am-line .am-x:hover { color: var(--text); background: var(--s2); }
.am-line .am-x:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
